Learn to use the code editor

In this 10-minute prologue to the coding supervisor in Visual Studio, we’ll add code to a record to take a gander at a portion of the manners in which that Visual Studio makes composing, exploring, and understanding code more straightforward.

In the event that you haven’t previously introduced Visual Studio, go to the Visual Studio downloads page to introduce it for nothing.

This article accepts for a moment that you’re as of now acquainted with a programming language. On the off chance that you’re not, we recommend you take a gander at one of the programming quickstarts first, for example, make a web application with Python or C#, or make a control center application with Visual Fundamental or C++.


To track with this article, ensure you have the C# settings chosen for Visual Studio. For data about choosing settings for the coordinated advancement climate (IDE), see Select climate settings.

Make a new code file

Begin by making another document and adding a code to it.

  • Open Visual Studio. Select the Esc key, or decide to Go on without code on the beginning window, to open the advancement climate.
  • From the Document menu on the menu bar, pick New > Record, or select the Ctrl+N keys.
  • In the New Document exchange box, under the Overall classification, pick Visual C# Class, and afterward pick Open.
  • Another document opens in the manager with the skeleton of a C# class.

Use code pieces

Visual Studio gives helpful code pieces that you can use to rapidly and effectively create normally utilized code blocks. Code bits are accessible for various programming dialects including C#, Visual Essential, and C++.

How about we add the C# void Principal scrap to our record.

  • Place your cursor simply over the last shutting support } in the record, and type the characters svm.

A spring up exchange box shows up with data about the svm code sni

Written by Shaheen Sadique

Leave a Reply

Your email address will not be published. Required fields are marked *

How AirPods connect to Your Windows PC

AirPods connect to Your Windows PC

Which is the best iPhone