C# command line tools
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 .
Go to the command prompt and issue the following command for compilation.
When the compiler compile the program , if any error occurred in the source code , it will display in the command prompt
After the successful compilation you will get NewProg.exe file
You can execute the file in the command prompt by giving exe file name (NewProg) .