The Bonus Site for
C# 2008
For Dummies
csharp102.info
The following tips and techniques are things I wish I had gotten into the book but didn't. These will save you time or add to your programmer's tool kit.
Page 162, paragraph 6, refers to "commenting out" some lines of code. It would be helpful here to explain the idea of "commenting out" lines of code. Often you need to remove lines of code, but you'd rather not just delete them. It's common practice for programmers to turn those lines into C# comments, preceded by "//". Visual Studio helps with this by providing a toolbar button called "Comment out the selected lines. (Ctrl+E,C)". The button looks like several lines of code in black, with several lines shown as being commented out, in blue. There's also an adjacent button to "uncomment" lines. To comment out lines, select the lines in the C# editor, then click the comment-out button. To uncomment, select the lines, then click the uncomment button.
Page 167, item 3 in the list. It would be helpful to define the term "signature" mentioned here. A method's signature consists of its name, its return type (or void), and the types of its parameters.