In this demonstration, you will create a C# console application by using Visual Studio .NET.
To create a C# application
- Start Visual Studio .NET.
- On the File menu, point to New, and then click Project.
- In the New Project dialog box, provide the information shown in the following table, and then click OK.

- When the project has been generated, point out and discuss the following features of Visual Studio:
- The Solution Explorer window
- Close the Class1.cs code window.
- Change the name of Class1.cs to Hello.cs.
- Double-click Hello.cs to redisplay the code window.
- The Properties window
- The toolbars
- The View menu
- The Build menu
- The Debug menu
- The Help menu
- The Solution Explorer window
- Using the code window displaying Hello.cs, point out and discuss the
following:- The Hello namespace
Mention that namespaces will be discussed later. You could delete this line and the corresponding braces, but leave them intact for now.
- The using directive
- The XML comments
Use this section to provide a brief description of the program. Comments
will be covered more fully later. - The class definition
The default name for the class is Class1. Change it to Demonstrator.
- The Main method
Insert the following code:
Console.WriteLine(“Hello, World”);
- Microsoft IntelliSense®
- The Hello namespace
- On the File menu, click Save All.
- Exit Visual Studio.
Hello, Great job. I did not expect this just before the weekend. Thanks