(You are currently looking at the third edition version of this page. This page is also available for the first
and second editions.)
Errata for Chapter 1: The changing face of C# development
P22/23, listing 1.21: Incorrect formatting
The formatting in listing 1.21 is fine until the last line of page 22 - but that closing brace should be outdented, and then on page 23 the
productCheckButton.Enabled = true; line should be indented.
The code will already execute perfectly happily - it's just not pleasant to look at.
P23, section 1.6: Incorrect listing reference
Directly after listing 1.21, I state that "The full method is a little longer than the one shown in listing 1.22," where of course I meant listing 1.21 instead - listing 1.22 doesn't exist.
P24, section 1.7.1: Incorrect URL for Mono
On page 24, there's an incorrect link for the Mono project. (It's not clear to me whether it's always been wrong, or whether the "right" link has changed.) I won't duplicate the incorrect link here, but the right link is https://www.mono-project.com.