C-SHARP - 1.3 Implementation of the development environment
In this video we install everything required to start coding in C#. The course runs on Windows, so we install two pieces of software. First, Visual Studio Community, the free and complete edition of Visual Studio. This is the IDE where we will write code, compile and run our programs. Second, the .NET 5 framework, which is the latest version of Microsoft's development platform at the time of this lesson.
We start by searching Google for "Visual Studio Community", clicking the official download link, then running the installer and pressing Continue. Before clicking Install, we pick the right workloads. Visual Studio can compile C#, C++ and Python and target games, web and mobile — we only enable what we actually need to keep the install small.
Workloads to enable in the installer
- ASP.NET and web development: required to build web apps.
- .NET Desktop development: WPF, WinForms and console apps.
- Mobile development with .NET: Xamarin to ship cross-platform iOS / Android apps.
- Data storage and processing: tooling to manage SQL Server and other databases.
The download takes a while because of the workload sizes, so stay connected to the internet until it finishes. Once Visual Studio is installed, we install the .NET 5 SDK. Search "Download .NET 5.0", pick the SDK (Software Development Kit) — not the runtime — and choose the build matching your operating system. If you do not know whether your Windows is 32-bit or 64-bit, open the start menu and search for "System" to check. Click the download link, run the installer and validate. That completes the setup: Visual Studio + .NET 5 SDK is everything we need to start practising in the next videos.
Summary
This lesson guides you through setting up a complete C# development environment on Windows. You will install Visual Studio Community (a free, full-featured IDE) and the .NET SDK (Software Development Kit), configuring the necessary workloads for .NET desktop development, mobile application creation, and database management. The video walks through each step: downloading and installing Visual Studio, selecting appropriate development options, determining your system architecture (32-bit or 64-bit), and installing the matching .NET SDK version.
Key points
- Visual Studio Community is a free, complete IDE that enables C# development, with support for multiple languages (C++, Python) and platforms (games, mobile apps, desktop applications)
- During Visual Studio installation, select essential workloads: .NET desktop development, mobile development (for iOS and Android), and data storage tools for database management
- The .NET SDK (Software Development Kit) is required alongside Visual Studio to build and execute C# applications
- Verify your Windows system architecture (32-bit or 64-bit) before downloading the matching .NET SDK version via the System settings
- Maintain an active internet connection during installation, as the combined download size is substantial and may take considerable time to complete
FAQ
What is Visual Studio Community and is there a cost?
Visual Studio Community is a free, fully-featured Integrated Development Environment (IDE) provided by Microsoft that allows you to write, debug, and execute C# code. It is the recommended starter tool for C# development.
Why do I need both Visual Studio and the .NET SDK?
Visual Studio Community is the editor where you write your code, while the .NET SDK (Software Development Kit) provides the compiler and runtime tools necessary to build, run, and deploy your C# applications.
How do I determine whether to install the 32-bit or 64-bit .NET SDK?
Open the System search in Windows (click the Windows search icon and type 'System') to check if your Windows installation is 32-bit or 64-bit, then download the matching .NET SDK version from the official Microsoft website.