C# 3.0 Cookbook

[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] [Z]

ElapsedTime counter  

elements, in a collection  

ellipses (...), omitted code in examples   2nd  

email address

       for this book  

       regular expression patterns for  

Encrypt method, CryptoString class  

encryption  

       clearing key and initialization vector afterwards  

       cryptography providers  

       digital signatures for assemblies  

       of files  

       random number generator for  

       of strings  

end-of-line character   [See EOL character linefeed character]

endianness  

EndInvoke method   2nd  

EndOfStreamException exception   2nd  

EndsWith method, string class  

EnhancedLog class  

Enqueue method, PriorityQueue class   2nd  

EnqueueHead method, DblQueue class  

EnqueueTail method, DblQueue class  

EnsureCapacity method, StringBuilder class  

entry points, multiple  

EntryPointNotFoundException exception  

EntryWrittenEventHandler delegate  

Enum class

       IsDefined method  

       Parse method  

enumerations  

       All member of  

       conditional testing of bit flags for  

       converting strings to  

       converting text of to enumeration value  

       displaying as strings  

       exceptions for  

       Flags attribute  

       testing for valid value of   2nd  

       used as bitmask  

       used as flags   2nd  

enumerators, custom  

Environment class

       StackTrace method  

       StackTrace property  

environment variables , parsing paths in  

Environment.NewLine constant  

EOL (end-of-line) character   2nd   [See also linefeed character]

equality operator (==)

       comparing pointers with  

       comparing strings with  

       overriding   2nd   3rd  

       Set class   2nd  

Equals method   2nd  

       GetHashCode method as alternative to  

       improving performance of  

       overriding for user -defined exceptions  

       Set class   2nd  

       string class   2nd  

equations   [See also calculations]

       balanced, determining  

       complex, ensuring correctness of  

       complex, simplifying  

error handling   [See also exception handling]

       web server errors  

ErrorCode property, COMException exception  

even values, determining if number is  

event logs

       custom, maximum size of  

       monitoring for specific entries  

       multiple  

       searching  

       sources for, determining  

events

       adding to sealed class  

       listener for, canceling action that raised an event  

       mouse events  

       observing object modifications  

       specialized parameters for  

EventSearchLog class  

Everything permissions set   2nd  

examples   [See code samples]

Exception class  

       creating  

       GetBaseException method  

       mapped to HRESULT  

exception event handlers  

exception handling  

       for asynchronous delegates   2nd  

       coarse-grained  

       for delegates in multicast delegate  

       fine-grained  

       incorrect parameters  

       performance of   2nd   3rd  

       with threads   2nd  

       when to throw specific exceptions  

exceptions   [See also specific exceptions]2nd   [See also specific exceptions]

       asynchronous delegate throwing  

       breaking application before handling  

       casting  

       determining object originating  

       displaying information from  

       generated by method using reflection  

       handling individually  

       HRESULTs mapped to  

       innermost, finding  

       list of  

       not losing with finally blocks  

       rethrowing  

       throwing   2nd  

       unhandled, preventing  

       user-defined, creating  

       when to throw  

executable modules, comparing versions of  

ExecutionEngineException exception   2nd   3rd  

Exists method

       Directory class  

       File class   2nd  

       FileInfo class  

exported types of an assembly, listing  

expressions   [See also equations]

       balanced, determining  

       complex, ensuring correctness of  

Extensible Markup Language   [See XML]

ExternalException class  

ExternalException exception  

ExtractGroupings method, RegExUtilities class  

Категории