C # in a Nutshell, Second Edition

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X]

C#

       COM mapping  

       COM object exposure  

       language overview  

       managed language description  

       objects

               binding COM objects  

               COM exposure  

       online resources for further information  

       syntax table  

C/C++ comments  

Calendar class, System.Globalization  

CalendarWeekRule enumeration, System.Globalization  

callbacks, P/Invoke layer and  

calling into DLLs  

CallingConvention enumeration, System.Runtime.InteropServices  

CallingConventions enumerations, System.Reflection API  

Camel, naming convention case and  

CannotUploadAppDomainException class, System namespace  

CanRead method, Stream class  

CanSeek method, Stream class  

CanWrite method, Stream class  

Capture class, System.Text.RegularExpressions  

CaptureCollection class, System.Text.RegularExpressions  

       strings and  

case keyword  

case, naming conventions  

CaseInsensitiveComparer class, System.Collections  

CaseInsensitiveHashCodeProvider class, System.Collections  

catch blocks  

catch clause  

       catch expression  

       exception variable  

       multiple  

catch keyword  

CCW (COM Callable Wrapper)  

char keyword  

Char struct, System namespace  

char types  

character sets, regular expressions  

CharEnumerator sealed class, System namespace  

CharSet enumeration, System.Runtime.InteropServices  

checked keyword  

checked operators, arithmetic overflow  

CIL (Common Intermediate Language)  

class keyword  

classes   [See also sealed classes]2nd   [See also abstract classes]

       abstract  

               TextReader  

               TextWriter  

       Array, collections and  

       ArrayList, collections and  

       attribute classes  

       BinaryReader  

       BinaryWriter  

       BitArray, collections and  

       CaptureCollection, strings and  

       collections, predefined  

       Console  

       constructors  

       conversions  

       data members  

       Debug  

       defining  

               constructors  

               data members  

       DirectoryInfo  

       EventArgs  

       fields  

       FileInfo  

       FileStream  

       Group, strings and  

       Hashtable, collections and  

       hierarchies

               inheritance and  

               quick reference entries  

       indexers  

       inheritance  

       interfaces comparison  

       isolated storage  

       marshaling  

        methods  

       Microsoft.Win32 namespace

               PowerModeChangedEventArgs  

               SessionEndedEventArgs  

               SessionEndingEventArgs  

               TimerElapsedEventArgs  

               UserPreferenceChangedEventArgs  

               UserPreferenceChangingEventArgs  

       Monitor, threads and  

       namespaces and  

       NetworkStream  

       Queue, collections and  

       Regex, strings and  

       sealed  

       SortedList, collections and  

       Stack, collections and  

       StackFrame  

       StackTrace  

       stream-derived  

       StreamReader  

       StreamWriter  

       string class  

               types and  

       StringBuilder  

       StringCollection, collections and  

       StringDictionary, collections and  

       StringReader  

       StringWriter  

       struct comparison  

       System namespace

               AppDomainUnloadedException  

               ApplicationException  

               ArgumentException  

               ArgumentNullException  

               ArgumentOutOfRangeException  

               ArithmeticException  

               ArrayTypeMismatchException  

               AssemblyLoadEventArgs  

               BadImageFormatException  

               CannotUploadAppDomainException  

               ContextMarshalException  

               ContextStaticAttribute  

               DivideByZeroException  

               DllNotFoundException  

               DuplicateWaitObjectException  

               EntryPointNotFoundException  

               EventArgs  

               Exception  

               FieldAccessException  

               FlagsAttribute  

               FormatException  

               InvalidCastException  

               InvalidOperationException  

               MemberAccessException  

               MethodAccessException  

               MissingFieldException  

               MissingMemberException  

               MissingMethodException  

               NotFiniteNumberException  

               NotImplementedException  

               NotSupportedException  

               NullReferenceException  

               Object  

               ObjectDisposedException  

               OutOfMemoryException  

               OverflowException  

               PlatformNotSupportedException  

               Random  

               RankException  

               ResolveEventArgs  

               SystemException  

               ThreadStaticAttribute  

               TypeLoadException  

               TypeUnloadedException  

               UnauthorizedAccessException  

               UnhandledExceptionEventArgs  

               UnhandledExceptionEventHandler  

               Uri  

               UriBuilder  

               UriException  

               WeakReference  

       System.Activator  

       System.Diagnostics namespace

               BooleanSwitch  

               CounterCreationData  

               CounterCreationDataCollection  

               DefaultTraceListener  

               EntryWrittenEventArgs  

               EventLog  

               EventLogEntryCollection  

               EventLogInstaller  

               EventLogPermissionAttribute  

               EventLogPermissionEntry  

               EventLogPermissionEntryCollection  

               InstanceData  

               InstanceDataCollection  

               InstanceDataCollectionCollection  

               MonitoringDescriptionAttribute  

               PerformanceCounterInstaller  

               PerformanceCounterPermissionAttribute  

               PerformanceCounterPermissionEntry  

               PerformanceCounterPermissionEntryCollection  

               Process  

               ProcessModule  

               ProcessModuleCollection  

               ProcessThread  

               ProcessThreadCollection  

               StackFrame  

               StackTrace  

               TextWriterTraceListener  

               TraceListenerCollection  

               TraceSwitch  

       System.Globalization namespace

               CompareInfo  

               CultureInfo  

               DaylightTime  

               GregorianCalendar  

               HebrewCalendar  

               HijriCalendar  

               JapaneseCalendar  

               JulianCalendar  

               KoreanCalendar  

               RegionInfo  

       System.IO namespace

               BinaryReader  

               BinaryWriter  

               DirectoryNotFoundException  

               EndOfStreamException  

               ErrorEventArgs  

               FileLoadException  

               FileNotFoundException  

               FileStream  

               FileSystemEventArgs  

               FileSystemWatcher  

               InternalBufferOverflowException  

               IODescriptionAttribute  

               IOException  

               MemoryStream  

               PathTooLongException  

               RenamedEventArgs  

               StreamReader  

               StreamWriter  

               StringReader  

               StringWriter  

       System.IO.IsolatedStorage namespace

               IsolatedStorageException  

               IsolatedStorageFileStream  

       System.Net namespace

               AuthenticationManager  

               Authorization  

               CookieCollection  

               CookieContainer  

               CookieException  

               CredentialCache  

               Dns  

               EndPointPermission  

               FileWebRequest  

               FileWebResponse  

               GlobalProxySelection  

               HttpVersion  

               HttpWebRequest  

               HttpWebResponse  

               IPAddress  

               IPEndPoint  

               IPHostEntry  

               NetworkCredential  

               ProtocolViolationException  

               ServicePoint  

               ServicePointManager  

               SocketAddress  

               WebException  

               WebHeaderCollection  

               WebProxy  

       System.Net.Sockets namespace

               IPv6MulticastOption  

               LingerOption  

               MulticastOption  

               NetworkStream  

               Socket  

               SocketException  

               TcpClient  

               TcpListener  

               UdpClient  

       System.Reflection.Emit namespace

               CustomAttributeBuilder  

               ILGenerator  

               ModuleBuilder  

               OpCodes  

               ParameterBuilder  

       System.Runtime.InteropServices namespace

               COMException  

               ExternalException  

               InvalidComObjectException  

               InvalidOleVariantTypeException  

               MarshalDirectiveException  

               RegistrationServices  

               RuntimeEnvironment  

               SaveArrayRankMismatchException  

               SaveArrayTypeMismatchException  

               SEHException  

       System.Runtime.Serialization namespace

               FormatterConverter  

               ObjectIDGenerator  

               ObjectManager  

               SerializationException  

               SurrogateSelector  

       System.Runtime.Serialization.Formatters namespace

               SoapMessage  

       System.Text namespace

               ASCIIEncoding  

               UnicodeEncoding  

               UTF7Encoding  

       System.Text.RegularExpressions namespace

               Capture  

               CaptureCollection  

               Group  

               GroupCollection  

               Match  

               MatchCollection  

               Regex  

               RegexCompilationInfo  

       System.Threading namespace

               Overlapped  

               SynchronizationLockException  

               ThreadExceptionEventArgs  

               ThreadInterruptedException  

               ThreadStateException  

       System.Timers namespace

               ElapsedEventArgs  

               Timer  

               TimersDescriptionAttribute  

       System.Xml namespace

               NameTable  

               XmlAttribute  

               XmlAttributeCollection  

               XmlCDataSection  

               XmlComment  

               XmlConvert  

               XmlDataDocument  

               XmlDeclaration  

               XmlDocument  

               XmlDocumentFragment  

               XmlDocumentType  

               XmlElement  

               XmlEntity  

               XmlEntityReference  

               XmlException  

               XmlImplementation  

               XmlNamedNodeMap  

               XmlNamespaceManager  

               XmlNodeChangedEventArgs  

               XmlNodeReader  

               XmlNotation  

               XmlParserContext  

               XmlProcessingInstructor  

               XmlQualifiedName  

               XmlSecureResolver  

               XmlSignificantWhitespace  

               XmlText  

               XmlTextReader  

               XmlTextWriter  

               XmlUrlResolver  

               XmlValidatingReader  

               XmlWhitespace  

       System.Xml.XPath namespace

               XPathDocument  

               XPathException  

       System.Xml.Xsl namespace

               XsltCompileException  

               XsltException  

       SystemCollections namespace

               ArrayList  

               CaseInsensitiveComparer  

               CaseInsensitiveHashCodeProvider  

               Hashtable  

               Queue  

               SortedList  

               Stack  

       SystemCollections.Specialized namespace

               CollectionsUtil  

               HybridDictionary  

               ListDictionary  

               NameObjectCollectionBase.KeysCollection  

               NameValueCollection  

               StringCollection  

               StringDictionary  

               StringEnumerator  

       SystemReflection API

               Assembly  

               AssemblyNameProxy  

               CustomAttributeFormatException  

               InvalidFilterCriteriaException  

               ManifestResourceInfo  

               Module  

               ParameterInfo  

               StrongNameKeyPair  

               TargetException  

               TypeDelegator  

       TcpClient  

       TcpListener  

       Trace  

       Type, reflection and  

       UdpClient  

       XmlNodeReader  

       XmlReader  

       XmlValidatingReader  

       XmlWriter  

classesXmlTextReader  

ClassInterfaceAttribute sealed class, System.Runtime.InteropServices  

ClassInterfaceType enumeration, System.Runtime.InteropServices  

CLI (Common Language Infrastructure)  

Close( ) method, memory management  

CLR (Common Language Runtime)   2nd  

       classes, COM+ and  

       data marshaling  

       managed execution and  

       strings, indexed  

CLR marshaler  

CLS (Common Language Specification)  

       CLS Consumers  

       CLS Extenders  

       CTS and  

[CLSCompliant] attribute  

CLSCompliantAttribute sealed class, System namespace  

CoClassAttribute sealed class, System.Runtime.InteropServices  

code

       introductory program  

       unsafe  

CollectionBase abstract class, System.Collections  

collections

       Array class  

       ArrayList class  

       Assembly API  

       BitArray class  

       FCL  

       hash code generation  

       Hashtable class  

       IComparable interface  

       IComparer interfaces  

       IEnumerable interface and  

       IEnumerator interface and  

       interfaces  

               ICollection  

               IDictionary  

               IList  

       iteration and  

       ordering and  

       predefined classes  

       Queue class  

       SortedList class  

       Stack class  

       StringCollection class  

       StringDictionary class  

CollectionsUtil class, System.Collections.Specialized  

COM

       binding C# objects  

       component-based software and  

       interop support attributes  

       mapping in C#  

       objects, exposing to C#  

       typelib

               TlbExp.exe  

               Tlblmp.exe  

COM Callable Wrapper   [See CCW]

COM+ services

       FCL and  

COM+ support  

COM+, CLR classes and  

ComAliasNameAttribute sealed class, System.Runtime.InteropServices  

ComCompatibleVersionAttribute sealed class, System.Runtime.InteropServices  

ComConversionLossAttribute sealed class, System.Runtime.InteropServices  

COMException class, System.Runtime.InteropServices  

ComImportAttribute sealed class, System.Runtime.InteropServices  

ComInterfaceType enumeration, System.Runtime.InteropServices  

commands

       Cordbg.exe  

       GacUtil.exe  

ComMemberType enumeration, System.Runtime.InteropServices  

comments in XML documentation  

       C/C++ style  

Common Intermediate Language   [See CIL]

Common Language Infrastructure   [See CLI]

Common Language Runtime   [See CLR]

Common Type System   [See CTS]

CompareInfo classes, System.Globalization  

CompareOptions enumeration, System.Globalization  

Comparer sealed class, System.Collections  

comparisons, strings  

compilers  

       conditional compilation  

       custom attributes  

       FCL and  

       System.Reflection.Emit namespace and  

compiling, Csc.exe and  

component-based development, enabling  

components

       language support  

       Nmake.exe  

ComRegisterFunctionAttribute sealed class, System.Runtime.InteropServices  

ComSourceInterfacesAttribute sealed class, System.Runtime.InteropServices  

ComUnregisterFunctionAttribute sealed class, System.Runtime.InteropServices  

ComVisibleAttribute sealed class, System.Runtime.InteropServices  

[Conditional] attribute  

ConditionalAttribute sealed class, System.Diagnostics  

configuration, FCL and  

Console class  

Console sealed class, System namespace  

const keyword  

constants  

ConstructorBuilder sealed class, System.Reflection.Emit  

ConstructorInfo abstract class, System.Reflection API  

constructors  

       access modifiers  

       inheritance and, initialization  

       instance constructors  

       overloading  

       static  

               nondeterminisim  

ContextBoundObject abstract class, System namespace  

ContextMarshalException class, System namespace  

ContextStaticAttribute class, System namespace  

continue keyword  

continue statement  

conversions

       arrays  

       bool types  

       char types  

       classes  

       decimal types  

       enums  

       explicit  

       floating-point types  

       implicit  

       integral types  

       interfaces  

       types  

        user -defined  

Convert sealed class, System namespace  

Convert type  

Cookie class, System.Net  

CookieCollection class, System.Net  

CookieContainer class, System.Net  

CookieException class, System.Net  

COOL language  

CORBA, component-based software and  

Cordbg.exe  

CounterCreationData class, System.Diagnostics  

CounterCreationDataCollection class, System.Diagnostics  

CounterSample struct, System.Diagnostics  

CounterSampleCalculator sealed class, System.Diagnostics  

CredentialCache class, System.Net  

cross-references in quick reference  

cross-references, XML types  

CrossAppDomainDelegate delegate, System namespace  

Csc.exe  

CSP (Cryptographic Service Provider), Sn.exe and  

CTS (Common Type System)  

       CLS and  

CultureInfo class, System.Globalization  

CultureTypes enumeration, System.Globalization  

CurrencyWrapper sealed class, System.Runtime.InteropServices  

custom attributes

       compilers  

       creation  

       language  

       predefined attributes  

       retrieving at runtime  

       runtime support  

custom types  

CustomAttributeBuilder class, System.Reflection.Emit  

CustomAttributeFormatException class, System.Reflection API  

Категории