search c#.net

Chat With Me

คลิ๊กๆๆ...

Thursday, July 2, 2009

Compilation and Execution

Compilation and Execution
You can compile the "Hello World!" program either by creating a project in the Visual Studio IDE, or by using the command line.
To compile the program from the command line:
Create the source file using any text editor and save it using a name such as Hello.cs. C# source code files use the extension .cs.
To invoke the compiler, enter the command:
csc Hello.cs
If your program does not contain any compilation errors, a Hello.exe file will be created.
To run the program, enter the command:
Hello

0 comments:

Post a Comment

Bejeweled

SNAKE Game - Top 20 Challenge

Learn c#.net

THE PRIMITIVE GAME - คนป่ามหาโหด