13.07.2015 Views

C# in Depth

C# in Depth

C# in Depth

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

390INDEXSynchronizedKeyedCollection 71, 100synchronous code 179syntactic shortcut for anonymous methods 149syntactic sugar 13, 162, 181, 216, 276for nullable types 120syntax 25System namespace 232System.L<strong>in</strong>q namespace 263System.L<strong>in</strong>q.Expressions namespace 239System.Nullable class. See Nullable classSystem.Nullable struct. See Nullable structSystem.Runtime.CompilerServices namespace 261System.Web.UI.WebControls 193System.W<strong>in</strong>dows.Forms 193System.Xml.L<strong>in</strong>q 338TTable 319, 326Take. See Standard Query Operators, TakeTakeWhile. See Standard Query Operators, Take-WhileTatham, Simon 182TDD. See Test-Driven Development (TDD)technologyhistory 18milestones 22pace of change 3tedious cod<strong>in</strong>g 229template arguments 109template metaprogramm<strong>in</strong>g 109templates 20, 83, 102, 108term<strong>in</strong>ology 253, 258, 297automatically implemented properties 209ternary operator. See conditional operatortest-bed for captured variables behavior 160Test-Driven Development (TDD) 174text editor 222TextReader 278ThenBy. See Standard Query Operators, ThenByThenByDescend<strong>in</strong>g. See Standard QueryOperators, ThenByDescend<strong>in</strong>gth<strong>in</strong>k<strong>in</strong>g <strong>in</strong> <strong>C#</strong> 18third party libraries 273this 151, 155, 163, 221, 258, 329Thread constructor 140thread safe 39thread safety 39, 116, 209, 226uses for queues 100threadpool 153threads 153, 178ThreadStart 34, 140, 143, 150, 152throwaway code 209TIME_ZONE_INFORMATION 199TimeSpan 116, 125ToArray. See Standard Query Operators, ToArrayToDictionary. See Standard Query Operators,ToDictionaryToList 236See also Standard Query Operators, ToListToLookup. See Standard Query Operators,ToLookuptooltips 211, 225, 260ToStr<strong>in</strong>g 53, 226, 238, 240, 268, 284, 318, 329traditional managed developers 24transaction management 318transactions, NHibernate 346transformations 161, 279translations 284transparent identifiers 294, 300, 306erasure 297trial and error 66TrimExcess 98TrimToSize 98tri-state logic 127trivial key selector 298trivial properties 209, 228–229Trojan horse 24true operator 125TrueForAll 96truth tables 127TryGetValue 99TryParse 81, 132TryXXX pattern 81, 131T-SQL 316two-phase type <strong>in</strong>ference 248type arguments 68, 74, 92, 246<strong>in</strong>ference 79of anonyous types 225type constra<strong>in</strong>ts 74–75, 185comb<strong>in</strong><strong>in</strong>g 78lack of operator/numeric 106restricted comb<strong>in</strong>ations 78type conversions and type safety 44type declarations 185type erasure 110type hierarchy expression classes 240type <strong>in</strong>ference 43, 79, 288, 290, 355anonymous types 225changes <strong>in</strong> <strong>C#</strong> 3 245–253<strong>in</strong> <strong>C#</strong> 2 74local variables 210return types of anonymous functions 247two-phase <strong>in</strong> <strong>C#</strong> 3 248type <strong>in</strong>itialization 85type parameter constra<strong>in</strong>ts 77type parameters 67, 92, 109, 211and typeof 93constra<strong>in</strong>ts. See type constra<strong>in</strong>tsLicensed to Rhona Hadida

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!