13 Nov 2011

C# Hello World! Tutorial 1

1. Open Visual Studio and Click on New Project.

2. Click Visual C# > Console Application and name it Hello World

3. This Window will appear and all the code we'll write in main function.

4. Write the code shown below. as you write cout << "Hello World!"; in C++.
here you'll write Console.WriteLine("Hello World!"); and compile the program by pressing F5.

5. Here's the final output.

No comments:

Post a Comment