STEP 1
// A simple program to explain the structure of a C# program
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine(" FIRST STEP FOR A C# PROGRAM");
Console.ReadLine();
}
}
* This is purely Object Oriented approach so everything must me contained in a class.
* Like the header files, here we have namespaces. Here System is a namespace and Console is a class
contained in that namespace. Writeline is function to display the output.
* We dont have function like getch() to make the cursor wait at the output screen. Instead of that we can
give the statement Console.ReadLine();
* Again ReadLine() is a function in console class.