Congratulations on taking the first step toward becoming a C# developer! According to my previous blog, you have successfully created the developer environment by setting up Visual studio and creating the C# file in Console Applications. Now you can continue learning from there. Good Luck!
Introduction to Console Applications
- In C#, a console application is a lightweight application that runs in a command-line interface.
- It is a simple yet powerful way to perform various tasks, such as data processing, text output, and system administration.
- In this post, we'll take a closer look at how to work with previously created console applications.
Step 1:
Open the C# file which you created according to the previous post (C#-1)
Then you'll get the default program generated by the visual studio(C-1-1)
(C-1-1) |
Ignore all the confusing words in the program such as Using System;, namespace MyFirstProgram, etc. for now. The only thing the above program does is display the text Hello World in the console. (C-1-2)
- Click on the play button at the top(C-1-3)
- This will create our output in a console window. (C-1-2)
(C-1-3) |
Post a Comment