In C#-Visual Studio how to set the program code line number

Insert image description here

Test version: Visual Studio 2019

Visual Studio code line numbers play an important role in allowing programmers to see programs with purpose, which is more conducive to communication. So what do Visual Studio code line numbers look like? As shown below:

In Visual Studio, we usually have code on the left to display the line number. In Visual Studio,
Insert image description here
let’s take a look at how to set the line number of the code:

Step 1: We find "Tools" in the Visual Studio menu, click the tool, and select "Options" in the tool.

Guess you like

Origin blog.csdn.net/weixin_44301520/article/details/133283803