T


Tan( ), 40, 567

Tanh( ), 567

TargetSite property of Exception, 349–350

Ternary operator (?), 82–83

Text property. 828, 830

TextReader class, 364, 365, 367, 375, 390

methods defined by, table of, 364

TextWriter class, 364–365, 369, 375, 391

this, 133–134, 201

and overloaded constructors, 194–195

Thread class, 660–661, 662, 669, 672, 702

Thread.Resume( ), 701

Thread.Suspend( ), 701–702

Thread.WaitHandle class, 686, 691

Thread(s)

argument to, passing an, 669–671

communication, 680–684

creating, 660–666

deadlock, 684

definition of, 659

foreground and background, 660, 671

main, 660, 663, 702–703

multiple, 553, 664–666

possible states of, 660

priorities, 671–674

state, determining, 702

suspending and resuming, 701–702

terminating, 697–701

ThreadAbortException, 697, 698, 700

Threading models (Windows), 828–829

ThreadPriority enumeration, 672

ThreadStart delegate, 661

ThreadState

enumeration, 702

property, 702

ThreadStateException, 661, 667

throw, 85, 336, 345–347

Timeout property, 782

ToArray( ), 716, 720–721, 726, 729, 739, 754

ToBoolean( ), 611

ToByte( ), 581

ToChar( ), 611

ToDouble( ), 581, 613

ToInt16( ), 581, 611

ToInt32( ), 581, 611

ToInt64( ), 581, 611

Token, 637, 848

ToLower( ), 154, 586, 641

ToLowerInvariant( ), 586, 641

ToOACurrency( ), 581

ToolStrip class, 837, 841

ToolStripMenuItem class, 837, 841

Top property, 833

ToSByte( ), 581

ToSingle( ), 581, 611

ToString( ), 299–300, 302, 349, 391, 572, 574, 576, 581, 586, 589, 611–612, 615, 618, 628, 629, 642, 648–649, 809

ToUInt16( ), 582, 612

ToUInt32( ), 582, 612

ToUInt64( ), 582, 612

ToUpper( ), 154, 583, 646–587, 621

ToUpperInvariant( ), 587, 641

Trim( ), 638, 639–640

TrimExcess( ), 740, 751, 754

TrimToSize( ), 716, 717, 724, 729

true, 42, 67

overloading, 222–224, 227–231

True and false in C#, 42

True displayed as bool value output by WriteLine( ), 43

TrueForAll<T>( ), 610

TrueString field, 588

Truncate( ), 567, 582

try block(s), 336–342

nested, 344–345

TryEnter( ), 679

TryGetValue( ), 736

TryParse( ), 572, 574, 576–577, 582, 587, 589

Two’s complement, 37

Type

casting. See Cast(s)

checking, 35, 303

constructed. See Constructed type

extensibility, 209, 236

identification, runtime, 447–451

inference, 514, 515

metadata, 445

parameterized, 483

promotion, 58–60

safety and generics, 483, 486, 487–489, 494, 516, 517, 532, 591, 616, 709, 734, 756, 757

Type argument(s), 486, 487

and constraints, 491–509.

See also Constraint(s)

and pointer types, 532

to call a generic method, using explicit, 515

Type class, 450, 451, 453, 473

commonly used methods, list of, 452

commonly used properties, list of, 452

Type conversion, 42, 54–61

automatic, 54–56, 58–60, 187–189

and casting, 54, 56–58, 60–61

Type parameter(s), 485–486, 514, 532

comparing instances of a, 522–526

and constraints, 491

creating a default object of a, 509–511

overloading methods that use, 530–531

used in base class constraint, 507–508, 509

TypeCode enumeration, 571, 573, 575, 579, 584, 589

typeof operator, 450–451

Types

constrained, 491.

See also Constraint(s)

data. See Data type(s)




C# 2.0(c) The Complete Reference
C# 2.0: The Complete Reference (Complete Reference Series)
ISBN: 0072262095
EAN: 2147483647
Year: 2006
Pages: 300

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net