Version 6
Microsoft has not yet released an official copy of the C#6 spec. This is an unofficial draft. When Microsoft does release its official copy, before end 2016 at the latest, then this current repository will be deleted. That's because I wouldn't want to have two copies of the C#6 spec floating around.
(This document is also available for download: csharp.pdf and csharp.docx)
- Introduction
- Lexical structure
- Basic concepts
- Types
- Variables
- Conversions
- Expressions
- Expression classifications
- Static and Dynamic Binding
- Operators
- Member lookup
- Function members
- Primary expressions
- Unary operators
- Arithmetic operators
- Shift operators
- Relational and type-testing operators
- Logical operators
- Conditional logical operators
- The null coalescing operator
- Conditional operator
- Anonymous function expressions
- Query expressions
- Assignment operators
- Expression
- Constant expressions
- Boolean expressions
- Statements
- Namespaces
- Classes
- Structs
- Arrays
- Interfaces
- Enums
- Delegates
- Exceptions
- Attributes
- Unsafe code
- Documentation comments
- Grammar: csharp.html. Or download in ANTLR format: csharp.g4.