C# Core Language Features

Now that some basic examples and the framework of Visual C# 2008 code have been presented, we can discuss the fundamental building blocks of any C# application. This section starts by discussing symbols and tokens, the most elemental components of a Visual C# 2008 application.

Symbols and Tokens

Symbols and tokens are the basic constituents of the C# language. C# statements consist of symbols and tokens—indeed, they cannot be assembled without them. Table 1-2 provides a list of the C# symbols and tokens. Each entry in Table 1-2 is explained in the text that follows.

Table 1-2. C# Symbols and tokens

Description

Symbols or tokens

White space

Space, Form Feed

Tab

Horizontal_tab, Vertical_tab

Punctuator

. , : ;

Line terminator

Carriage ...

Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.