C# Basics: Getting Started with Programming -Installation and creating the environment.(c#-1)


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

  • 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:

  • Click 'install' on the right bottom corner(image C-5).                                                                          
  • image C-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:
  • Select 'C# Console Application' and click Next. (image C-9)


image C-9

Step 4:
  • Give any name to the project and click Next. (image C-10)
            Example: ConsoleApp1.

image C-10

Step 5:
  • Click on 'Create'

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!



Post a Comment

Previous Post Next Post
LightBlog
LightBlog