Ok. So turns out that in Visual Studio Express that line numbers are not shown by default when editing a .cs file.
Seeing as how it gives errors in terms of line numbers, it seems a little ridiculous to not have them displayed.
Anyways, here is how to enable it:
- Go to the “Tools” Menu and select “Options”
- At the bottom of the window that opens, check the “Show all settings” box
- Under the “Text Editor” section, select the language “C#”
- Under the “Display” section, check the “Line Numbers” box
- click OK