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.

INDEX 385Nullable (cont<strong>in</strong>ued)Value property 116wrapp<strong>in</strong>g and unwrapp<strong>in</strong>g 117nullity check 149NullReferenceException 82, 118–119, 262numbers 272numeric constra<strong>in</strong>ts 106numeric types 125Oobject creation 215object <strong>in</strong>itializers 215–218, 283, 355object orientation, <strong>in</strong>direction 38Object Relational Mapp<strong>in</strong>g (ORM) 22, 351Entity Framework 348LINQ to SQL 314, 325NHibernate 345use of partial types 187Object Services 348object-orientation 20object-oriented data model 276, 300objectslocation <strong>in</strong> memory 51parameter pass<strong>in</strong>g 52ObjectSpaces 22obscure code 214Office 2007 21OfType. See Standard Query Operators, OfTypeopen source 345open types 68closed at execution time 93operands, of null coalesc<strong>in</strong>g operator 128operator constra<strong>in</strong>ts 106operators 108, 191default. See default value expressionstypeof. See typeof operatoroptimization 109, 242, 266of jo<strong>in</strong> ... select 300Option Explicit 47Option Strict 47, 355optional fields 130Oracle 346OrDefault 363OrderBy 10, 237orderby clauses. See query expressions, orderbyclausesOrderBy. See Standard Query Operators, OrderByOrderByDescend<strong>in</strong>g. See Standard QueryOperators, OrderByDescend<strong>in</strong>gorder<strong>in</strong>g 15, 267, 290group<strong>in</strong>g 308of object <strong>in</strong>itialization 217ORM. See Object Relational Mapp<strong>in</strong>g (ORM)out 234, 258outer sequences 297outer variables 151output parameters 81, 131Output w<strong>in</strong>dow 198over-eng<strong>in</strong>eer<strong>in</strong>g 136overkill 12overloaded methods and generics 83overload<strong>in</strong>g 290ambiguity 140, 252changes <strong>in</strong> <strong>C#</strong> 3 251–253extension methods 261GroupBy 310of Add method 220PP/Invoke 199pairs of values 83parallel comput<strong>in</strong>g 358Parallel Extensions 349, 357Parallel LINQ (PLINQ) 315, 349, 357ParallelEnumerable 349parallelism 179, 357parallelization 313parameter 52covariance 230pass<strong>in</strong>g 51–52type contravariance XE 47type of object 64types <strong>in</strong> anonymous method declarations 146parameter wildcard<strong>in</strong>g 149ParameterExpression 243parameterized typ<strong>in</strong>g. See genericsParameterizedThreadStart 150, 153parameterless constructors 76, 217entity classes 318parameters 151for delegates 35<strong>in</strong> expression trees 243positional 217params 20parentheses 234, 339Parse 342partial 185classes 317comparisons 134methods 188, 318modifier 189types 184–190, 258PartialComparer 135partition of the Common Language Infrastructurespecification 25partition<strong>in</strong>g. See Standard Query Operators,partition<strong>in</strong>gpass by reference. See parameter pass<strong>in</strong>gLicensed to Rhona Hadida

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

Saved successfully!

Ooh no, something went wrong!