[vscode] how to create c# project in vscode
Open folder (folder is name using namespasename).
Open folder and terminal. And Typing bellow command.
dotnet new console
It’s mean that create console project on opened folder.
Build project
Typing bellow command on terminal.
dotnet run
Display “Hollo World!” on terminal.
Now. Changie code in project.cs file into bellow code.
using System;
namespace MyProject
{
public class MyProject{
static void Main(string[] args)
{
Console.WriteLine("Typing this.");
}
}
}
Building project.