C#

C# Language Structure

To write good C# programs, you need to have a good understanding of the structure of C#.This
language or lexical structure of C# programs.

The order in which we are going to tackle this topic is as follows:


1.     C# programs
2.     Grammar
3.     Line terminators
4.     Comments
5.     White space
6.     Tokens
7.     Keywords
8.     Directives

1.     C# programs
All C# programs are made up of one or more source files. These source files, also known as compilation
units, can be standalone text files or files contained within an IDE (Integrated Development
Environment) such as Visual Studio.
These compilation units contain an ordered sequence of Unicode characters (a round-about way of
saying text) and for maximum portability, all file source files should be encoded using UTF-8
encoding. By using a simple text editor (like Notepad) or a specific development environment for
C#, you will be sure that you are using the right format.


0 comments:

Post a Comment

Subscribe to RSS Feed Follow me on Twitter!