13.07.2015 Views

C# in Depth

C# in Depth

C# in Depth

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

372INDEXarchitecture 275AreaComparer 105argument evaluation 189argument, parameter pass<strong>in</strong>g 53arithmetic 239Array 43array <strong>in</strong>dex<strong>in</strong>g 239ArrayList 5, 8, 46, 52comparisons with List 65, 73, 88, 96use with LINQ 289arrays 278, 360as reference types 49covariance 45covariance support 103implicit typ<strong>in</strong>g. See implicitly typed arrays<strong>in</strong>itialization 223ASCII 44AsEnumerable, DataTable extension method 335See also Standard Query Operators,AsEnumerableASP Classic 20See also Active Server Pages (ASP)ASP.NET 20, 26, 198AsParallel 349AsQueryable. See Standard Query Operators,AsQueryableAsReadOnly 98assemblies 225, 261extern aliases 196assembly reference 28AssemblyInfo.cs 203assignment 50–51of null to a nullable type variable 120assignments 242associations 316, 337asterisk 297AsXAttributes 340asynchronous code 178asynchronous pattern 81attorney 34, 38Attribute method 342Attribute suffix 201attributes 316Attributes method 342automatically implemented properties208–210, 235Average. See Standard Query Operators, Averageaxis methods 342Ayende 345Bback tick 93BackgroundWorker 41backward compatibility 253Base Class Libraries (BCL) 27base class library 207base type 191specify<strong>in</strong>g for partial types 185BCL. See Base Class Libraries (BCL)Beg<strong>in</strong>XXX/EndXXX pattern 81behavioradd<strong>in</strong>g us<strong>in</strong>g <strong>in</strong>heritance 255specify<strong>in</strong>g with delegates 33behavioral pattern 161best practices 209, 274, 356better conversion 251Bill Gates 31b<strong>in</strong>ary operators 125B<strong>in</strong>aryExpression 239black box view of iterator blocks 167bloat of type responsibility 187blockanonymous methods 146lambda expressions 234restrictions of expression trees 242blogs 270, 272, 315, 345bluepr<strong>in</strong>ts 68Booleanflags 115logic 127bounds of type variables 248box<strong>in</strong>g 53–54, 58, 89–90, 115, 119, 178<strong>in</strong> Java 110<strong>in</strong> Java 1.5 20of Nullable. See Nullable, box<strong>in</strong>g and unbox<strong>in</strong>gbraces 147, 234break<strong>in</strong>g changes from <strong>C#</strong> 1 to <strong>C#</strong> 2 144buffer 257buffer<strong>in</strong>g 265, 281, 308bugsdue to lack of generics 65us<strong>in</strong>g Stream 257bulk delete 319bus<strong>in</strong>esscode 174layer 348logic 187requirements 269rules 130Button 139, 193byte, range of values 113bytecode 110ByValArray 201by-value argument. See parameter pass<strong>in</strong>gCC ω 21, 24, 33, 44<strong>C#</strong>def<strong>in</strong>ition of events 40evolution 4Licensed to Rhona Hadida

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

Saved successfully!

Ooh no, something went wrong!