About This Book This book covers all basic C# syntaxes. 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 programming. We can take this book as a basic syntax manual because its entries are arranged alphabetically so that we can easily reference the important syntax. Nowadays or in the future, the C# Syntax Book can provide great help for coding both in our study and our work.
Table of Contents Abs(num) abstract access array element access string element accessor Add() All() anonymous method Any() Append() ApplicationException array creating ArrayList array.Length Aggregate() AsEnumerable() AsParallel() AsQueryable() AsReadOnly() Average() BinarySearch() BitArray() boxing break Cast() Class definition Clear() Clone() Compare() CompareOrdinal() CompareTo() Concat() conditional operator Conditional attribute constant definition ConstrainedCopy() Constructor Contains() ContainsKey() ContainsValue() continue ConvertAll() Convert.Toint32(num) Copy() CopyTo() Count() Create() CreateInstance() Current CurrentThread DefaultIfEmpty() Delegate Destructor Distinct() do / while loop ElementAt() ElementAtOrDefault() e.Message Empty() EndsWith() Enum Enum member accessing Equals() event Except() Exists() Filestream file writing & reading Fill() Find() FindAll() FindIndex() FindLastIndex() First() FirstOrDefault() for loop foreach array foreach list Format() function function (argument) Generic get block get array value GetEnumerator() GetHashCode() GetLength() GetLongLength() GetLowerBound() GetType() GetTypeCode() GetUpperBound() GetValue() Hashtable() if statement if / else statement implicit conversion indexer IndexOf() inheritance input by user Insert() interface Intern() internal Interpolation Intersect() is operator IsFixedSize IsInterned() IsNormalized() IsNullOrEmpty() IsNullOrWhiteSpace() IsReadOnly ...... ...... ...... 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