How to Run your C# Programmes
You can test your programme a number of ways. First, though, it has
to be built. This is when everything is checked to see if there are
any errors. Try this:
From the View menu at the top of Visual C# Express, click
Output . You’ll see a window appear at the bottom. (In C# 2010,
if you can't see an Output entry, click the Tools menu. From
the Tools menu, select Settings > Expert Settings . The Output
menu item should then appear on the View menu.)
From the Build menu at the top of Visual C# Express, click
Build Solution
You should see the following report:
The final line is this:
Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
That's telling you that everything is OK.
Now try this:
Delete the semicolon from the end of your line of code
Click Build > Build Solution again
Examine the outpu...