Creating console applications in Visual StudioCreating console application is easy task and the easiest way to begin with C#. You can create console application in just 2 steps.
Step 1. Navigate to File -> New -> Project. Or you can also hit Ctrl+Shift+N for creating new project.
Step 2. Click on Visual C# available on the left side of the Templates panel. And then select Console Application from the central panel. Provide a name to your application, hit the OK button and you are done.
Navigating to your code files.You can navigate to your code files with the help of Solution Explorer. If you are unable to find Solution explorer just hit Ctrl+W then hit S. Or you can also find it in View menu. In the solution explorer you can see three nodes under MyFirstConsoleApplication.
References node contains the reference of the .dll files that we have used in our project.
Program.cs is our C# code file. And any file you can see in the solution explorer with .cs extension is the C# source code file. You can get more details about Program.cs here.
If you still finds something missing or any related queries write it in the comment box.
Happy coding ;)