D
D
Data members, class, 109
Data type(s), 24, 25
casting.
See
Casts
class as a, 111
conversion.
See
Type conversion
importance of, 35
object as a “universal”, 309–310
promotion of, 59–60
reference.
See
Reference types
value (simple).
See
Value types
See also
Type
Date and time, formatting, 695–700
custom placeholder characters
for, table of, 699–700
format specifiers for, table of, 696
DateTime structure, 660, 695
Deadlock, 727, 745
Decimal .NET structure, 396, 397,
623, 630–634
constructors, 630
fields, table of, 635
methods, table of, 631–634
decimal value type, 36, 40–41, 396,
623, 630
literal, 46
DeclaringType property, 463
Decrement operator (– –), 29, 63, 64–65
overloading, 217
Decrement( ), 739–740
default #line directive option, 456
default statement, 89–91
and goto, 106–107
default(
type
) and type parameters,
522–523
DefaultCachePolicy property, 825
DefaultWebProxy property, 826
#define directive, 451, 452, 491
delegate keyword, 399, 409, 410
Delegates, 399–413
and anonymous functions,
408–409
and anonymous methods,
408–413
covariance and contravariance
and, 406–408
declaring, 399–400
and events, 419, 420
generic, 527–530
and instance methods, 402–404
and lambda expressions, 413–419
and multicasting, 404–406
reasons to use, 408
System, list of, 617
Delegates, instantiating, 401
using method group conversion,
402, 403
Dequeue( ), 769, 770, 796, 797
descending contextual keyword,
550, 553
Destructors, 131–133
DialogResult enumeration, 856–857
Dictionaries, 749, 754, 787
Dictionary class, 775, 779,
787–789
methods, table of some, 787
Dictionary.KeyCollection
class, 788
Dictionary.ValueCollection
class, 788
DictionaryBase class, 774
DictionaryEntry structure, 755, 763,
765, 810
DirectoryNotFoundException, 372,
373, 381
disable warning option, 457
Dispose( ), 374, 778
and the using statement, 608
Divide( ), 631
DivideByZeroException, 337, 342,
343, 347–348, 353
DivRem( ), 618
DllImport attribute, 609, 610
Documentation comments, 867–870
do-while loop, 85, 101–102, 105
Dot operator (.), 111, 119, 205, 332, 589
Double .NET structure, 396, 397,
623, 626
fields, table of, 630
methods, table of, 628–629
double value type, 25–26, 36, 38–39,
46, 396, 623
DoubleToInt64Bits( ), 655
DownloadData( ), 844
DownloadFile( ), 844
DownloadString( ), 844
DropDownItems property, 864
Dynamic method dispatch, 294
www.freepdf-books.com
I n d e x
875
Do'stlaringiz bilan baham: |