C# 5.0 PROGRAMMER’S REFERENCE
INtROduCtION ..................................................xxxiii
▶ PARt I thE C# ECOSyStEM
ChAPtER 1 The C# Environment .......................................3
ChAPtER 2 Writing a First Program ...................................11
ChAPtER 3 Program and Code File Structure ...........................27
▶ PARt II C# LANGuAGE ELEMENtS
ChAPtER 4 Data Types, Variables, and Constants ........................53
ChAPtER 5 Operators ..............................................99
ChAPtER 6 Methods ..............................................121
ChAPtER 7 Program Control Statements .............................. 151
ChAPtER 8 LINQ .................................................169
ChAPtER 9 Error Handling .........................................205
ChAPtER 10 Tracing and Debugging ..................................231
▶ PARt III ObjECt-ORIENtEd PROGRAMMING
ChAPtER 11 OOP Concepts .........................................245
ChAPtER 12 Classes and Structures ...................................269
ChAPtER 13 Namespaces ...........................................303
ChAPtER 14 Collection Classes ...................................... 317
ChAPtER 15 Generics ..............................................343
▶ PARt IV INtERACtING wIth thE ENVIRONMENt
ChAPtER 16 Printing ...............................................359
ChAPtER 17 Configuration and Resources ..............................393
ChAPtER 18 Streams ............................................... 411
ChAPtER 19 File System Objects .....................................425
ChAPtER 20 Networking ............................................445
Continues
▶ PARt V AdVANCEd tOPICS
ChAPtER 21 Regular Expressions .....................................469
ChAPtER 22 Parallel Programming ....................................485
ChAPtER 23 ADO.NET .............................................509
ChAPtER 24 XML .................................................. 533
ChAPtER 25 Serialization ...........................................563
ChAPtER 26 Reflection .............................................581
ChAPtER 27 Cryptography ..........................................601
▶ PARt VI APPENdICES
APPENdIx A Solutions to Exercises ....................................625
APPENdIx b Data Types ............................................733
APPENdIx C Variable Declarations ....................................737
APPENdIx d Constant Declarations ................................... 741
APPENdIx E Operators .............................................743
APPENdIx F Method Declarations ....................................749
APPENdIx G Useful Attributes .......................................753
APPENdIx h Control Statements .....................................757
APPENdIx I Error Handling ......................................... 761
APPENdIx j LINQ .................................................763
APPENdIx K Classes and Structures ...................................773
APPENdIx L Collection Classes ......................................777
APPENdIx M Generic Declarations ....................................783
APPENdIx N Printing and Graphics .................................... 785
APPENdIx O Useful Exception Classes .................................799
APPENdIx P Date and Time Format Specifiers. . . . . . . . . . . . . . . . . . . . . . . . . . . 803
APPENdIx Q Other Format Specifiers ..................................807
APPENdIx R Streams ............................................... 813
APPENdIx S Filesystem Classes ......................................821
APPENdIx t Regular Expressions .....................................835
APPENdIx u Parallel Programming ....................................843