Visual Studio 2017 Creates Simple Console Programs

Time:2019-4-5

This article teaches you how to use visual Studio 2017 to create a console program for your reference. The details are as follows.

Steps:

1. Open the visual studio development tool

Visual Studio 2017 Creates Simple Console Programs

2. Select File > New > Project as follows:

Visual Studio 2017 Creates Simple Console Programs

3. Select the Windows Golden Book Desktop > Console Application and fill in the project name and the selection of the project storage address (Note: the project name and the project storage address can be defaulted)

Visual Studio 2017 Creates Simple Console Programs

4. Create the default code as follows:

Visual Studio 2017 Creates Simple Console Programs

5 Write a simple hello Word to print out

Console.WriteLine(“hello word”);
Console.ReadKey();

Visual Studio 2017 Creates Simple Console Programs

6 Press F5 to start the program. The effect is as follows.

Visual Studio 2017 Creates Simple Console Programs

The above is the whole content of this article. I hope it will be helpful to everyone’s study, and I hope you will support developpaer more.