This chapter consists of two main parts. The first part is about the lexical structure of a C# source program. The second part provides an example of an object-oriented program, which relates directly to the discussion in Chapter 3 about abstraction and encapsulation.
The following are the most important points covered in this chapter:
A C# source program can be viewed as a collection of identifiers, keywords, whitespace, comments, literals, operators, and separators.
C# is a case-sensitive language. To improve the clarity for other readers of the code, it is important to adhere to a certain capitalization style. Pascal Casing (ThisIsPascalCasing) and Camel Casing (thisIsCamelCasing) are the preferred styles and are used for different ...