Sometime it’s very useful to show line number in Visual Studio while programing.
So follow below steps:
Do to Menu Bar-> Tools Options.
Image 1.
Now Go To-> Text Editor -> All Languages -> General -> Make Sure Line Numbers is Checked -> OK.
Image 2.
Image 3.