H


G

garbage collections

boxing, 559

concurrent garbage collection, 559–560

finalization, 537

finalizers. See finalizers

GC class, 598

generations, 534

overview, 555–560

reference tree, 531

garbage collector (GC)

flavors, 559–560, 561–562

garbage collection overview, 555

GC class, 598

overview, 530

Server GC, 559, 560–562

Workstation GC, 559, 560

GC. See garbage collector (GC)

GC class, 598

General window debugging options, 443–445

generations

garbage collections, 534, 555

overview, 534

walkthrough, 534–537

generic enumerable objects, 279

generic enumerators

IEnumerable<T> interface, 279

IEnumerator<T> interface, 279–280

overview, 278

sample code (versioned collections), 281

generic methods

derivation constraints, 249

overloaded methods, 244–245

overview, 243

prototypical generic method, 243

suitability, 238

syntax, 244

this reference for generic types, 246

type inference, 244

generic types

casting, 256–257

closed constructed types, 243

constructed types, 243

derivation constraints, 249

inheritance, 257–260

interfaces, 266–267

MSIL view, 265

nested types, 259–260

nodes, 250

open constructed types, 243

overview, 17, 233

serialization, 263

static members, 260

suitability, 238

syntax, 242

this references, 246

type parameters, 239–242

generics

anonymous methods, 318

attributes, 238, 389–392

collections, 237, 266–267

compared to parameterized templates, 265

compared to parametric polymorphism, 265

constraints. See constraints

constructors, 238

creating generic types, 387

delegates, 306–307

enumerators, 267

GetGenericArguments method, 386

GetGenericTypeDefinition method, 385

GetType method, 384

indexers, 238

inheritance polymorphism, 236

internals, 265–266

IsGeneric Boolean property, 383

IsGenericMethod property, 383

IsGenericTypeDefinition Boolean property, 383

MakeGenericType method, 387

multiple parameters, 241

nested parameters, 242

operators, 251

overview, 233, 235, 383

parametric polymorphism, 238

predefined attributes, 390

programmer-defined custom attributes, 390

properties, 238

pseudo-custom attributes, 390

reflection security, 388

StackInt class, 235

static members, 265–266

typeof operator, 384

types. See generic types

GetCustomAttribute method, 396, 397

GetCustomAttributes method, 396–397

GetGenericArguments method, 386

GetGenericTypeDefinition method, 385

GetInvocationList method, 303

GetType method, 384

global methods, 412

global namespaces

compared to nonglobal namespaces, 33

overview, 32

GUID heap, 358




Programming Microsoft Visual C# 2005(c) The Language
Microsoft Visual Basic 2005 BASICS
ISBN: 0619267208
EAN: 2147483647
Year: 2007
Pages: 161

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net