Tutorials /
Tools Wiki /

Development environment

Visual Studio

A full development environment with project management, editing, building and debugging in one application.

What it is for

An alternative to VS Code for C# work. Visual Studio and Visual Studio Code are different applications, not different names for the same app.

Install it

  1. Download Visual Studio from Microsoft. Review the edition’s licence; Community has eligibility conditions.
  2. In Visual Studio Installer, select the .NET desktop development workload for these console exercises. Install additional workloads only when your project needs them.

Official setup instructions ↗

Open it

  1. Open Start → Visual Studio.
  2. Choose Open a project or solution and select the supplied .sln or .csproj file. To start fresh, choose Create a new project → Console App (C#).

Check it is installed — then verify

Where · Visual Studio

In the Visual Studio application and its Solution Explorer. Tool guide

Open Help → About Microsoft Visual Studio.

What you should see: The product name and installed version appear. Visual Studio Installer → Modify shows installed workloads.

Try one small thing

Where · Visual Studio

In the Visual Studio application and its Solution Explorer. Tool guide

In Solution Explorer, double-click Program.cs, edit the supplied console program, save, then choose Debug → Start Without Debugging.

What you should see: A console window shows the program output. C# goes in Program.cs; shell commands do not.

If something looks different

  1. No Console App template: check the .NET workload in Visual Studio Installer.
  2. A project needs a newer SDK: use a compatible Visual Studio version and the project’s required SDK.
  3. Opening a folder is not always the same as loading its solution. Select the .sln or .csproj file when supplied.

Lessons using this tool

Some use it only for optional local practice. Each lesson explains what you actually need.

C# · 61 lessons

Official help

Guide reviewed 2026-09-09. Menu labels can differ between versions.