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]

Safe Thread Synchronization (MSDN Magazine)  

SafeArrayRankMismatchException exception  

SafeArrayTypeMismatchException exception  

SaferMemberAccess class  

SampleCounter counter  

SampleFraction counter  

SaveObj method  

SaveSensitiveData method, SecretFile class  

sbyte data type   2nd  

scientific notation, formatting strings as  

sealed classes, adding events to  

SearchDepthFirst method, BinaryTree class  

searches

       array elements   2nd   3rd   4th  

       binary trees   2nd  

        characters in strings   2nd  

       event logs  

       files or directories  

       groups returned by  

       interfaces  

        members  

       n-ary trees   2nd  

       queue items  

       set objects  

       strings in files  

       substrings in strings   2nd   3rd   4th   5th  

       tokens in strings   2nd  

SearchInterfacesOfType method  

SearchMembers method  

SearchType class   2nd  

SecretFile class   2nd   3rd  

       ReadSensitiveData method  

       SaveSensitiveData method  

SecureFunction method   2nd  

security   2nd   [See also permissions]

       access to types in an assembly, controlling  

       assemblies

               minimizing attack surface of  

               preventing malicious modifications to  

               verifying permissions for  

        asserting a permission safely  

       clearing cryptography information after using  

       encryption and decryption

               of files  

               of strings  

       event logs and   2nd   3rd  

       random number generator  

       regular expression patterns and  

       storing data securely  

       thread-specific data, storing privately  

       verifying strings are uncorrupted during transmission   2nd  

SecurityAction enumeration  

SecurityException exception   2nd   3rd   4th  

SecurityManager class, IsGranted method  

Seek method, FileStream class  

SeekOrigin enumeration  

SEHException exception  

semicolon (;), on command line  

separator, determining if character is  

serializable types, finding in an assembly  

SerializationException exception  

serializer, choosing  

server   [See web server]

ServerException exception  

Set class   2nd  

set objects  

       creating  

       difference of   2nd   3rd   4th  

       equivalence and nonequivalence of   2nd   3rd  

       intersection of   2nd   3rd   4th  

       subset of   2nd   3rd  

       superset of   2nd   3rd  

       union of   2nd   3rd   4th  

SetCreationTime method

       Directory class  

       File class  

SetCustomLogMaxSize method  

SetData method, Thread class  

SetLastAccessTime method

       Directory class  

       File class  

SetLastWriteTime method

       Directory class  

       File class  

SetWindowsHookEx function  

shallow copying   2nd  

ShallowClone class  

shift and add hash algorithm  

ShiftAndAddHash method  

short data type  

SignedNumber structure  

SignedNumberWithText structure  

significant bits of an integer, determining  

silent thread termination  

simple factory design pattern  

simple hash algorithm  

simple types   2nd  

SimpleClass class  

SimpleHash method  

Sin method, Math class  

sine function  

single quotes ('), on command line  

singleton design pattern   2nd  

SkipVerification privilege  

slash (/), on command line  

SN.EXE program  

SomeDataOriginator class  

Sort method, Array class and ArrayList class  

SortedArrayList class  

SortedList class   [See also collections]

       Add method  

       Contains method  

       ContainsKey method  

       ContainsValue method  

SourceForge web site  

space, determining if character is  

SpawnManyThreads method  

Split method

       Regex class  

       string class   2nd   3rd   4th  

Sqrt method, Math class  

square brackets ([]), balanced  

Square class  

Stack class   [See also collections]

       finding unbalanced strings using  

       snapshot of  

stack trace, obtaining without exception object  

StackOverflowException exception   2nd   3rd  

StackTrace class, iterating through like an array  

StackTrace method, Environment class  

StackTrace property, Environment class  

StackTraceArray class  

standard input, reading from and responding to  

StartInfo property, Process class  

StartsWith method, string class  

static fields

       initializing with static constructors   2nd  

       per-thread  

static methods , when to use   2nd  

StatusCode property, HttpWebResponse class  

StreamReader class   2nd  

       Peek method   2nd  

       Read method   2nd  

       ReadBlock method  

       ReadLine method   2nd   3rd   4th  

       ReadToEnd method   2nd  

streams   [See file streams]

StreamWriter class   2nd  

       Write method  

       WriteLine method   2nd  

string class

       Compare method   2nd  

       EndsWith method  

       Equals method   2nd  

       Format method  

       IndexOf method   2nd   3rd  

       IndexOfAny method   2nd   3rd   4th  

       Insert method  

       Intern method  

       IsInterned method  

       Join method  

       Remove method   2nd  

       Replace method  

       Split method   2nd   3rd   4th  

       StartsWith method  

       ToUpper method  

       Trim method  

       TrimEnd method  

       TrimStart method  

string concatenation hash algorithm  

string data type  

StringBuilder class  

       Append method  

       Capacity property   2nd  

       constructor for  

       EnsureCapacity method  

       improving performance of  

       Insert method  

       Length property  

       Remove method  

       Replace method  

StringCollection class  

StringDictionary class  

StringReader class, decorating   2nd  

StringReaderHash class  

strings

       array of, formatting as delimited text  

       balanced, determining  

       classes represented as  

       comparing   2nd  

       conditionally replacing text within  

       conversions to   2nd   3rd  

       converting from pointers to numeric data types  

       converting to value type  

       counting lines of text in  

       decoding from Base64 to byte array  

       delimited, extracting items from  

       displaying enumerations as  

       encoding byte array as  

       encrypting and decrypting  

       ensuring maximum number of characters in  

       formatting data in  

       hash values appended to   2nd  

       inserting character or string into  

       interning  

       iterating over characters of  

       numeric value in, determining  

       objects represented by, converting to objects  

       passing to method as byte array  

       performance of, with StringBuilder class  

       removing characters at head or tail of  

       removing or replacing characters in  

       replacing text within  

       returning all lines in an ArrayList  

       searching   2nd  

               finding last matching substring in  

               finding specific occurrences of a match  

               groups resulting from  

       searching for characters in   2nd  

       searching for string at head or tail of  

       searching for strings in  

       searching for tokens in   2nd  

       structures represented as  

       type of characters in, determining  

       verifying they are uncorrupted during transmission   2nd  

       XML, handling invalid characters in  

StringWriter class, decorating   2nd  

strongly typed collections  

structures  

       Equals method for, improving performance of  

       GetHashCode method for, overriding  

       operating as union types  

       performance of  

       polymorphism for  

       represented as a string  

       static fields, initializing  

       stored in arrays

               searching  

               sorting  

       strings converted to  

       when to use  

subset of set objects   2nd   3rd  

SUDSGeneratorException exception  

SUDSParserException exception  

superset of set objects   2nd   3rd  

surrogate character, determining if character is  

SwapElementsInArray method  

Switch class, custom   2nd   [See also BooleanSwitch class; TraceSwitch class]

Switch method  

switches element, application configuration file  

symbol, determining if character is  

SymmetricAlgorithm class  

       Clear method  

SynchronizationLockException exception  

synchronous delegates, converting to asynchronous delegates  

SyncInvoke delegate   2nd  

system requirements for examples in this book  

System.Collections namespace  

System.Diagnostics namespace  

System.Text.RegularExpressions namespace  

SystemException exception   2nd  

Категории