Open VS Code’s terminal (command prompt) by selecting “View,” then click on “Terminal.” Enter the following command: “dotnet new console.” This template will create a simple application with the same name as the folder it is in. VS Code will open a simple program that uses the namespace of your choosing.