Lesson 1 of 40
Foundation
Beginner
20 min
Getting Started with Visual Studio 2026
Set up Visual Studio 2026, understand the IDE layout, and write your first program using the latest workspace features.
Part 1: Installing Visual Studio 2026
Visual Studio 2026 introduces a streamlined installer with workload detection. Download the installer from visualstudio.microsoft.com. Choose workloads such as ASP.NET and web development, .NET desktop development, or Game development with Unity.
During installation, VS 2026 automatically configures GitHub Copilot and sets up your development environment.
During installation, VS 2026 automatically configures GitHub Copilot and sets up your development environment.
Part 2: The New IDE Layout
VS 2026 redesigns the shell with a Command Center at the top — a unified search, command palette, and AI assistant bar. Key panels:
- Solution Explorer — now with AI-powered file grouping
- Copilot Chat — docked right panel, always accessible
- Diagnostics Hub — real-time performance metrics
- Output / Terminal — unified terminal with shell switching
Part 3: Your First C# Program
Console.WriteLine("Hello, Visual Studio 2026!");
// Top-level statements — no class/Main needed in .NET 10
var name = "Developer";
Console.WriteLine($"Welcome, {name}!");
Press Ctrl+F5 to run without debugging or F5 to launch with the full debugger attached.// Top-level statements — no class/Main needed in .NET 10
var name = "Developer";
Console.WriteLine($"Welcome, {name}!");
Part 4: Keyboard Shortcuts to Know
| Action | Shortcut |
|---|---|
| Build Solution | Ctrl+Shift+B |
| Quick Launch / Command Center | Ctrl+Q |
| Go to Definition | F12 |
| Copilot Chat | Ctrl+/ |
| Format Document | Ctrl+K, Ctrl+D |