CSC is the command for compiling the CSharp source code on Command Line . When you run the CSC Command on Command line the program generate a .EXE file. Create new Text document and copy and paste the following source code save it as NewProg.cs .
using System;
class NewProg
{
static void Main(string[] args)
{
Console.WriteLine("My First Program");
Console.ReadKey();
}
}