C# is an object oriented language. In other words it contains classes, objects, interfaces and inheritance.
The First C# program
Type the following into a text editor (such as notepad), and save it with a .cs extension. (For eg First.cs);
You can compile this program by simply running C# command line compiler (CSC.Exe)
Then execute the First.exe by typing First at the command prompt