Getting started with .NET in VS Code

  1. Install the .NET SDK.
  2. Install Visual Studio Code (VS Code) from the official website.
  3. Open VS Code and Install the official C# Dev Kit extension
  4. Open the command palette, click on .NET: New Project…, then Console App
  5. On the folder selector, select the parent directory; then, for this walkthrough set ConsoleApp1 as the name for the current project and click on + Create Project
  6. On the VS Code explorer, right click on the ConsoleApp1 directory, and then on Open in Integrated Terminal
  7. On the integrated terminal, type dotnet run.

Congrats 🎉, you just run your first .NET application.