C # can be used in window-based, web-based, or console-based applications. To begin with, we will build a console program to work with C #.
Open Visual Studio (2019) installed on your local machine. Click on file -> New project ... from the top menu, as shown below
In the New Project tab, shown below, select Visual C # from the drop-down of all languages windows from the platform console from the project type and select the Console App.
Change the project name and click on create.
C# will Generate some files which will be discussed in future lectures shown below.
For the output of the program. We need to compile and run by pressing Ctrl + F5 or click on the run button or debug from the menu bar and click on the start without debug