About This Book This book covers all basic C# syntaxes, ( almost 300 entries, 300 examples, 300 outputs ). We can quickly reference the most helpful programming syntaxes, such as common command syntax, string function syntax, collection function syntax, class & object syntax……; all these syntaxes are very useful for C# programming. We can take this book as a small C# dictionary. Nowadays or future, this syntax book can provide great help in our work. "Almost 300 entries, 300 examples, 300 outputs" is the unique feature of this book.
Table of Contents Abs(num) abstract access array element access string element accessor Add() All() anonymous method Any() Append() ApplicationException array creating array creating ArrayList array.Length Aggregate() AsEnumerable() AsParallel() AsQueryable() AsReadOnly() Average() BinarySearch() BitArray() boxing break Cast() Class definition Clear() Clone() Clone() comment /*…*/ comment // Compare() CompareOrdinal() CompareTo() Concat() conditional operator Conditional attribute constant definition ConstrainedCopy() Constructor Contains() Contains() ContainsKey() ContainsValue() continue ConvertAll() Convert.Toint32(num) Copy() Copy() CopyTo() CopyTo() Count() Create() CreateInstance() CreateInstance() Current CurrentThread DefaultIfEmpty() Delegate Destructor Dispose() Distinct() do / while loop ElementAt() ElementAtOrDefault() e.Message Empty() EndsWith() Enum Enum member accessing Equals() Equals() event Except() Exists() Filestream file writing & reading Fill() Finalize() Find() FindAll() FindIndex() FindLastIndex() First() FirstOrDefault() for loop foreach array foreach list Format() function function (argument) Generic get{} / set{} block get array value GetEnumerator() GetEnumerator() GetHashCode() GetLength() GetLongLength() GetLowerBound() GetType() GetTypeCode() GetUpperBound() GetValue() Hashtable() ICollection IComparable IComparer IDictionary IEnumerator IEnumerable if statement if / else statement IList ...... ...... ...... WriteAllText() WriteLine() Zip()
Appendix Escaping Characters Chart C# Keywords Chart Data Type Chart Arithmetical Operators Chart Assignment Operators Chart Logical Operators Chart Logical Result Chart Comparison Operators ++X or X++ Chart Operator Precedence Chart C# Exceptions Chart Variables Chart List Methods Chart Class & Object Chart Data Type Chart Convert Type Methods Chart Bitwise Operators Chart Other Operators Chart Array Properties Chart Array Methods Chart String Property Chart Exception Chart String Methods Chart I/O Class Chart