C# Reference > C#
C# Reference
This is the reference section for topics in Microsoft's C# programming language.
- Simple Output
- Write Versus WriteLine
- Numbers and Concatenation
- Simple Input
- Printing Special Characters
- Encoding ASCII and Unicode Characters
- Printing Variables and Values
- Standard Numeric Formatting
- DateTime Formatting
- Simple Functions
- Fundamentals
- Trigonometric Functions
- Hyperbolic Functions
- Rounding Numbers
- Generating Random Numbers
- Number Base Conversions
- Conditional Operators (?:)
- Null Coalescing Operators (??)
- If Statements
- If-Else Statements
- If-Elseif-Else Statements
- If-Elseif-Elseif-Else Statements
- Switch Statements
- Multilabel Switch Statements
- Foreach Loops
- For Loops
- While Loops
- Do While Loops
- For Loop Anatomy
- For Loop Examples
- Do While Versus While
- Value and Reference Types
- Boxing and Unboxing
- Implicit Types
- Anonymous Types
- Arrays
- Array Initializations
- Uninitialized Arrays
- Multidimensional Arrays
- Implicitly-Typed Arrays
- Increment and Decrement Operators
- Arithmetic Operators
- Relational Operators
- Logical Operators
- Conditional Operator
- Bitwise Operators
- Assignment Operators
- Type Operators
- The Lambda Operator
- The Delegate Operator
- Async and the Await Operator
- Pointer Operators (unsafe mode)
- Other Operators
- Check Whether a File Exists
- Create an XML Document
- Add an Element to an XML Document
- Add an Attribute to an XML Element
- Add an Element with an Attribute
- Add a Namespace to an XML Document
- Add an Element to a Namespace
- Select an XML Node
- Select an XML Namespace Node
- Select a Set of XML Nodes
- Selecting with SQL
- Calling a Stored Procedure
- Keywords
- Operators
The C# Reference
Console Output and Input
Basic Math
Branches
Loops
Types
Arrays
Operators
Files
XML
SQL
Appendix