G


Garbage collection, 130–132, 613–614

and arrays, 135

and components, 809, 812–813

and fixed, 536

GC class, 613–614

methods, table of, 614

Generic class

example with one type parameter, 484–487

example with two type parameters, 489–491

general form, 491

hierarchies, 526–529

instantiation process for, 532

overriding virtual methods in a, 529–530

partial, 552

Generic method(s), 512–515, 532

and constants, 515

and explicit type arguments, 515

general form, 514

Generics, 7, 303, 483–532

avoiding runtime errors through, 489

and casts, 483, 487, 488–489

and code-bloat, 532

restrictions on using, 532

and type safety, 483, 486, 487–489, 494, 516, 517, 532, 591, 616, 709, 734, 756, 757

get accessor

and access modifiers, 256–257

for indexer, 242, 245

for property, 250–251, 252, 256

get as contextual keyword, 32

Get( ), 732

GetBits( ), 579

GetByIndex( ), 723, 724

GetBytes( ), 610–611

GetConstructors( ), 452, 459

GetCustomAttribute( ), 473

GetCustomAttributes( ), 452, 473

GetEnumerator( ), 603, 710, 712, 713, 721, 722, 723, 724, 735, 736, 746, 748, 751, 765

to create an iterator, 770, 772

GetEvents( ), 452

GetFields( ), 452

GetFormat( ), 618

GetGeneration( ), 614

GetGenericArguments( ), 452

GetHashCode( ), 222, 299, 571, 573, 575, 579, 584, 589, 603, 615, 713, 737

GetKey( ), 723, 724

GetKeyList( ), 723, 724

GetLength( ), 603

GetLongLength( ), 603

GetLowerBound( ), 603

GetMembers( ), 452

GetMethods( ), 452, 453, 457

BindingFlags form of, 456–457

GetNumericValue( ), 584

GetParameters( ), 453, 460

GetProperties( ), 452

GetRange( ), 715, 739

GetRequestStream( ), 781

GetResponse( ), 781, 783, 786

exceptions, 787

GetResponseStream( ), 783, 786

exceptions, 787

GetTotalMemory( ), 614

GetType( ), 299, 452, 489, 615

GetTypeCode( ), 571, 573, 575, 579, 584, 589

GetTypes( ), 464

GetUnicodeCategory( ), 584

GetUpperBound( ), 603

GetValue( ), 603–604

GetValueList( ), 723, 724

global predefined identifier, 408–409

Gosling, James, 4, 5

goto, 85, 106–108




C# 2.0(c) The Complete Reference
C# 2.0: The Complete Reference (Complete Reference Series)
ISBN: 0072262095
EAN: 2147483647
Year: 2006
Pages: 300

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