
Add Line Numbers in Your VS.NET Code Window
To add line numbers in your VS.NET code window: Go to VS.NET?>Tools?>Options?>Text Editor. Choose the language of your choice and select the Line Number checkbox under Display. This will add the line numbers to the code window.