Our First C# Program
Understand the structure of a C# program and execute basic commands using the .NET CLI.
We'll cover the following...
Visual Studio
For our first .NET application, we will need a text editor to write our code, a compiler to convert that code into an executable, and the .NET platform to run the application.
To make this process easier, developers often use Integrated Development Environments (IDEs) that can edit, compile, and run applications. For a .NET developer, Visual Studio is often the best choice.
Use the command line
We can write and run .NET apps without Visual Studio. The .NET CLI (command line interface) makes it possible to create .NET programs using the command line. This utility comes with the installation of the .NET SDK (software development kit).
First, we create a new folder with the name of the app.