Now we will look at how to create a basic program in C#. For the sake of explanation, we will work on the Console Application project:
- To create a new project, click on File | New Project and select Console App (.NET Framework) as the project type:
After giving the solution an appropriate name and path, click on OK. Check that the solution has been created. At this point, you should see the Solution Explorer. By default, a .cs file, Program.cs, should be added to the solution. By default, a method by the name of Main will also be added to the class. This method is the first entry point when this application ...