May 19 2020 by
Admin
in this article, we will explain how to create a console application in Visual Studio Code with example.
in this article, we will explain how to create a console application in Visual Studio Code with example.
Visual Studio Code is a lightweight but powerful source code editor.
It is a fully open-source and cross-platform framework available on Windows, Linux, and Mac.
You can refer to the link for web application
Create sample in ASP.NET core application in visual studio code .
You can download Visual Studio code
Click here for your platform (Windows, macOS, and Linux).
Step -1
Open Visual Studio Code.
Step -2
Click on the file in the menu and select Open Folder. We are creating a folder for project(console) and select created folder name.
Step -3
Go to Terminal and Select New Terminal in the menu.
In the terminal window, type dotnet new console
.
Step -4
Run the console Application. In the terminal window, type dotnet run
.
Program.cs
Download
Note: All contents are copyright of their authors.