Errata

Microsoft® Visual C#® 2008 Step by Step

Errata for Microsoft® Visual C#® 2008 Step by Step

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 321
Last example on page

In last Lambda expression, the => is missing. It should read
(ref int x, int y) => { x++ ...

Ray Steyer  Mar 24, 2010 
Printed Page 322
Third paragraph from botton in sidenote box

Paragraph begins "Notice that whenever..."
near end of second line, "braces" should read "parentheses"

Ray Steyer  Mar 24, 2010 
Printed Page 346
Sample code for item 11.

The text in the sample code that should be bold is just regular text. The if statement, else clause, and the block of code associated with each should be bold.

Ray Steyer  Mar 24, 2010 
Printed Page 453
First paragraph of item 4

The height for the Dock Panel should be set to 100. Doing that made it cover the first name, last name, tower, and captain as described in the following paragraph.

Ray Steyer  Mar 24, 2010 
Printed Page 459
First line of item 5.

The first line of item 5 refers incorrectly to "memberFormClosing" but should refer to "newMember_Click" as the following related code does.

Ray Steyer  Mar 24, 2010 
Printed Page 460
Near end of code to insert under item 3

The MessageBox.Show... near the end of the code to insert should be moved down one line (out of the using block) to precede ONLY the last curly brace. As it is written, if you look at the output "Members.txt" file while the message box is display, the file is empty since it has not yet been closed. Makes the user an actor in a race condition.

Ray Steyer  Mar 24, 2010