Setting up the environment
About visual studio
- Visual Studio is the Integrated Development Environment (IDE) used in this tutorial.
- It is an IDE developed by Microsoft Corporation.
- Visual Studio Supports multiple programming languages including C#, C++, Python, and JavaScript.
image C-1 |
- Visual Studio is a powerful development environment that can help you create high-quality C# applications quickly and efficiently. Such as computer programs, websites, web apps, web services, and mobile apps.
- Its user-friendly interface, customizable windows, toolbars, debugging tools, code analysis, collaboration features, cloud integration, and extensibility make it a popular choice for developers.
Installation Process of visual studio
- open any web browser and search for 'Visual Studio'.
image C-1.1 |
- click on the first link and as mentioned in image C-1.1.
OR
- Go to the official Microsoft Visual Studio website download page.
- Then click on 'Free download' and download the community version for free as shown in the below image C-2.
Step 1:
- Click on 'Free download':
image C-2 |
- Then visual studio setup will start downloading to your device:
Step 2:
- Double-click and open the setup:( image C-3 popup will appear).
Step 3:
- Click on 'continue' as shown (image C-3.)
image C-3 |
- Then Visual Studio setup will start installing:
- After the installation below window will appear(image C-4):
image C-4 |
Step 4:
- Select '.NET desktop development' under 'Desktop & Mobile'(image C-4).
Step 5:
Step 6:
- Click on 'Not now. maybe later.
Step 7:
- Select any color theme. (image C-6).
Step 8:
- Select 'Start Visual Studio'(image C-6).
image C-6 |
Congratulations! You're Done setting the environment.
Creating a C# File.
Step 1:
- Click on 'Continue without Code'.(image C-7)
image C-7 |
Step 2:
- Click on: File > new >Project(image C-8).
OR
- Press: Ctrl+shift+N on the keyboard.
image C-8 Step 3:
Step 4:
Example: ConsoleApp1.
You can use an online C# compiler as well for practice. Such as mycompiler.Congratulations! Now you have successfully created your C# project File.NOW LET'S START CODING! |
إرسال تعليق