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 375confusion 150, 222over captured variables 157connection management 318connection str<strong>in</strong>g 316, 336consistencycode formatt<strong>in</strong>g 147, 149language design 253of immutable types 39of <strong>in</strong>ferred type arguments 80of nullable equality rules 119of nullable syntax choice 121of query<strong>in</strong>g with LINQ 281, 325, 337, 344, 350Console 67, 194, 237, 320Constant 329constant collections 221constants 212<strong>in</strong> expression trees 243constra<strong>in</strong>t violations 319constra<strong>in</strong>ts on type parameters. See typeconstra<strong>in</strong>tsconstructed types 68, 92constructor parameters, anonymous types 226constructor type constra<strong>in</strong>ts 76constructors 108, 191generated 188<strong>in</strong> generic types 70of Nullable 116parameterless 77, 210, 217private <strong>in</strong> utility classes 190signatures other than parameterless 77static. See static constructorsXElement 339Conta<strong>in</strong>s. See Standard Query Operators, Conta<strong>in</strong>sConta<strong>in</strong>sKey 99context 151, 271, 287contextual keywords 298, 310partial 185cont<strong>in</strong>uation-pass<strong>in</strong>g style 180contracts <strong>in</strong> Spec# 21contravariance 103, 105message group conversions 141of delegates 55supported by CLR 106conventions 193, 209, 271, 273for events 142conversionof lists us<strong>in</strong>g delegates 72standard query operators. See Standard QueryOperators, conversionconversionsfrom method group to delegate <strong>in</strong>stance 55preference <strong>in</strong> overload<strong>in</strong>g 251ConvertAll 71, 96, 227, 267, 277, 281Converter 72, 175conveyor belt 278COOL 19coord<strong>in</strong>ation 178, 350Copy 257copy behavior for value/reference types 49CopyToDataTable 335corner cases 85corout<strong>in</strong>e 182correspondence between queries on different datasources 16Count 98Count. See Standard Query Operators, Countcovariance 103method group conversions 141of arrays 45of delegates 55of return type 46supported by the CLR 106CPU 88CreateQuery 327, 330criteria for match<strong>in</strong>g 97cross jo<strong>in</strong>s 303CTP. See Community Technology Preview (CTP)Current 90, 162, 164, 167, 172, 279Ddatacontexts 17, 318models 276pipel<strong>in</strong>e 161source 14sources 276transfer 51transfer type 57Data Access Strategy 348data b<strong>in</strong>d<strong>in</strong>g 283Data Connections 316data models 276DataAdapter 319databases 179, 269, 278, 313–314access 131column selection 228<strong>in</strong>dependence 346jo<strong>in</strong>s 297nullable fields 58, 114recreat<strong>in</strong>g 319data-centric approach 11DataReader 265, 278DataRow 335DataRowExtensions 334DataSet 265datasetstyped 335–338untyped 334–335DataTable 334–335Licensed to Rhona Hadida

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

Saved successfully!

Ooh no, something went wrong!