C# is an object oriented language which works on .Net Platform. It is very much similar to C and C++.
Creating your first program:
- Open your Visual Studio, it may be any version; this first program will run in all of them.
- Create new project using File-> New Project->.
- A window as shown below will appear and under Installed click Templates. Under Templates click Visual C# and choose Console Application.
- Something like the picture below will appear on your screen.
- Now execute the code using the green Start button in the middle of the top bar and you will get a console with ‘Hi’ in it. The screen will look like this.
And you are done with your first program in C#.
Thanks for reading this article, I hope it has helped you.
Please do comment and give your feedback.