This documentation is archived and is not being maintained.

2.2 Grammars

Visual Studio .NET 2003

This specification presents the syntax of the C# programming language using two grammars. The lexical grammar (Section 2.2.2) defines how Unicode characters are combined to form line terminators, white space, comments, tokens, and pre-processing directives. The syntactic grammar (Section 2.2.3) defines how the tokens resulting from the lexical grammar are combined to form C# programs.