To create and run programs using the C# command-line compiler:
Compiling the Program
C:\>csc Example.cs
Prior to running csc.exe, you may need to run the batch file vcvars32.bat, which is typically found in the //Program Files/Microsoft Visual Studio.NET/Vc7/Bin directory.
1.1.Intrduction | ||||
1.1.1. | A C# program begins with a call to Main() | |||
1.1.2. | Using csc.exe, the C# Command-Line Compiler | |||
1.1.3. | The C# Keywords | |||
1.1.4. | C# has the following reserved keywords: | |||
1.1.5. | Compile csharp source code in command line |