See also
Collection(s)
System.Collections.Generic, 546, 641,
750, 774, 778, 779
System.Collections.ObjectModel, 750
System.Collections.Specialized
namespace, 750, 774
System.ComponentModel
.Component class, 849
System.Delegate, 408
System.Diagnostics namespace,
491, 747
System.Diagnostics
.ConditionalAttribute class, 491
System.Drawing namespace, 852
www.freepdf-books.com
884
C # 3 . 0 : T h e C o m p l e t e R e f e r e n c e
System.Exception class.
See
Exception class
System.Globalization namespace,
623, 638, 666, 667
System.IDisposable interface, 608
System.IO namespace, 364, 365,
372, 437
System.IO.Stream class.
See
Stream
class
System.Linq namespace, 547, 584, 684
System.Linq.Enumerable, 574, 752
System.Linq.Queryable, 574, 664, 752
System.Linq.Expressions.
Expression, 581
System.Math class, 38, 193, 206
See also
Math class
System.Net namespace, 821
classes, list of, 822
enumerations, list of, 823
interfaces, list of, 822
Internet networking using
members of the, 821–845
System.Net.Mail namespace, 821
System.Net.Security namespace, 821
System.Net.Sockets namespace, 821
System.Nullable class, 598–599
System.Object class, 306
See also
object class
System.ObsoleteAttribute, 493
System.Predicate, 652
System.Reflection namespace,
463, 465
System.Reflection.MemberInfo, 463
See also
MemberInfo class
System.Runtime.CompilerServices
namespace, 728
System.Runtime.InteropServices
namespace, 609
System.Runtime.Serialization
namespace, 352
System.Security.SecurityException,
830
System.ServiceModel
.UriSchemeKeyedCollection, 779
System.String class, 159, 617, 663
See also
String class
System.Text namespace, 162, 663, 664
System.Threading namespace,
704, 723
System.Threading.Mutex class, 730
System.Threading.Semaphore
class, 734
System.Type, 462, 463
See also
Type class
System.Web namespace, 821
System.Windows.Forms, 847, 850, 851
System.Windows.Forms.Control
class.
See
Control class
SystemException, 337, 352
TT
Tan( ), 40, 621
Tanh( ), 621
TargetSite property of Exception,
351–352
Text property. 850–851, 852
TextReader class, 365–367, 369, 378,
382, 394, 608
methods defined by, table of, 366
TextWriter class, 365, 366–367, 371,
378, 382, 394
this, 133–135, 206
and overloaded constructors,
197–199
Thread class, 704, 705, 706, 710, 715,
745, 746
constructors, 704–705, 713
Thread.Resume( ), 745
Thread.Suspend( ), 745
Thread.WaitHandle class, 730, 734
Thread(s)
argument to, passing an,
713–714
communication, 723–727
creating and starting, 704–710
deadlock, 727, 745
definition of, 703
end of, determining the, 710–712
foreground and background,
705, 715
main, 704, 706–707, 746–747
multiple child, 606, 708–710
possible states of, 704
priorities, 715–717
and race conditions, 727
state, determining, 745–746
suspending and resuming, 745
synchronization.
See
Synchronization
terminating, 741–745
ThreadAbortException, 741, 742, 743
Threading models (Windows), 851
ThreadPriority enumeration, 715
ThreadStart delegate, 704–705, 713
ThreadState
enumeration, 746
property, 745
ThreadStateException, 705, 711
throw, 85, 338, 347–349
Timeout property, 826
ToArray( ), 757–758, 761–762, 767,
770, 781, 795, 797
extension method, 580–581
ToBoolean( ), 655
ToByte( ), 633
ToChar( ), 655
ToDouble( ), 633, 655
ToInt16( ), 633, 655
ToInt32( ), 633, 655
ToInt64( ), 633, 655
Token, 679
ToList( ) extension method, 580–581
ToLower( ), 157, 638, 683
ToLowerInvariant( ), 638, 683
ToOACurrency( ), 633
ToolStrip class, 859, 863
ToolStripMenuItem class, 859, 864
Top property, 855
ToSByte( ), 633
ToSingle( ), 633, 655
ToString( ), 306–307, 309, 351, 395,
625, 626, 627, 629, 633–634, 638,
640, 656, 659, 662, 671, 672
used to format data, 685, 688,
691–692, 697
ToUInt16( ), 634, 656
ToUInt32( ), 634, 656
ToUInt64( ), 634, 656
ToUpper( ), 157, 634, 688, 683
ToUpperInvariant( ), 638, 683
Trim( ), 681–682
TrimExcess( ), 781, 793, 795, 797
TrimToSize( ), 758, 765, 770
true, 42, 67
overloading, 226–229,
231–235
True and false in C#, 42
True displayed as bool value output
by WriteLine( ), 43
TrueForAll( ), 647
TrueString field, 640
Truncate( ), 621, 634
try block(s), 338–344
nested, 346–347
TryEnter( ), 723
TryGetValue( ), 777
TryParse( ), 398, 625, 626, 627, 629,
634, 638, 641
Two’s complement, 37
Type(s)
anonymous, 7, 199, 200, 261,
569–571
casting.
See
Casts
checking, 35, 49, 309
closed, 499
www.freepdf-books.com
I n d e x
885
constrained, 504.
See also
Constraint(s)
constructed.
See
Constructed type
data.
See
Data types
extensibility, 213, 240
identification, runtime, 459–463
inference, 416, 526, 527, 549–550
metadata, 457
nullable, 36, 518, 519
numeric, .NET structures for the
built-in, 397–397
open, 499
parameterized, 495
promotion, 59–60
reference.
See
Reference types
safety and generics, 495, 496,
498, 499–502, 506, 526, 529,
544, 641, 660, 750, 775, 800, 801
value.
See
Value types
Type argument(s), 498, 499
and constraints, 503–521.
See also
Constraint(s)
and pointer types, 544
to call a generic method, using
explicit, 527
Type class, 462, 463, 465, 485
commonly used methods
defined by the, list of, 464
commonly used properties
defined by the, list of, 464
Type conversion, 42, 55–62
and casting, 55, 56–58, 60–62
implicit (automatic), 55–56, 59,
190–192
Type parameter(s), 497–498, 544
comparing instances of a,
534–537
and constraints, 503–504
creating a default value of a,
522–523
and generic class hierarchies,
537–540
and generic delegates, 527
and generic interfaces, 530,
533, 534
and generic methods, 524–526
overloading methods that use,
542–543
relationship between two,
establishing a, 520
TypeCode enumeration, 624, 626,
628, 632, 636, 640
typeof operator, 462–463,
467, 476
Do'stlaringiz bilan baham: |