O'Reilly logo

The C# Programming Language (Covering C# 4.0), Fourth Edition by Peter Golde, Scott Wiltamuth, Mads Torgersen, Anders Hejlsberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

B. Grammar

This appendix contains summaries of the lexical and syntactic grammars found in the main document, and of the grammar extensions for unsafe code. Grammar productions appear here in the same order that they appear in the main document.

B.1 Lexical Grammar

image

B.1.1 Line Terminators

new-line:    Carriage return character (U+000D)    Line feed character (U+000A)    Carriage return character (U+000D) followed by line feed character (U+000A)    Next line character (U+0085)    Line separator character (U+2028)    Paragraph separator character (U+2029)

B.1.2 Comments

B.1.3 White Space

whitespace:    Any character with Unicode class Zs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required