Wrox Home  

Topic: C# and C++

Beginning C# 3.0: An Introduction to Object Oriented Programming (0470261293) cover image

Beginning C# 3.0: An Introduction to Object Oriented Programming

Jack Purdum
ISBN: 978-0-470-26129-3
556 pages
May 2008
Other Available Formats: E-book
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
2 38 Error in Text
The paragraph under Figure 2-10 instructs the reader to click the

OK button

But it should be

Add button
43 Error in Table
In the table on page 43, it should be txtDisplayOutput instead of txtResult.

The code is correct as is the narrative. Only the table is wrong.
44 Error in Code
" City: " + txtAddress.Text +

should be:
" City: " + txtCity.Text +


Mail Label program needs to include the ' this.Close' click event --

Author replies: Because the code for the Exit button is the same for every program in the book, and is only one statement (i.g., Close()), it isn't printed in the book. However, it is in the download code for the program.
65 Error in Code
"as larget as e<sup>38</sup>"

should be:

"as larget as 10<sup>38</sup>"
116 Typo in Text

Should be

120 Error in Text
In the last paragraph before the "Replacing a Substring" section on the page:

its Text property to the new string

Should be

the new string to its Text property
138 Typo in Text
Near the end of the largest paragraph on the page:


Should be

144 Error in Code
In the code after the "Nested If Statements" heading, the code says

Price = FULLPRICE; If (age => 21)

But it should say ">=" not "=>"
150/151 Clarification
"case 1" repeated should be case 1, case 2, case 3,....
151 Error in Code
The code at the top of the page should contain several cases for the switch statement. Your code has a switch statement with three ?case 1?s.
252 Typo in Code Comment
The comment in the code:

// Is this card place in the deck is "unused"?

Should be:

// Is this card place in the deck "unused"?
301 Error in Code
second line of code from the bottom says:

mySort.quickSort(data.Length-1); // Sort the data

The function quickSort takes two parameters and it should be

mySort.quickSort(0, data.Length-1); // Sort the data
467 Error in Code
If (answer == 0)

Should be:

if (answer == 0)
469 Error in Code
Page 469 requires the following 2 lines for the code to serve its purpose:

if (birthday.DayOfYear > currentDate.DayOfYear)

age -= 1;
472 Error in Code
const int FOURPOUNDS = 48;

should be

const int FOURPOUNDS = 64;

because there are 16 ounces in a pound, not 12
8 474 Error in Code
The code on page 474 generates inaccurate numbers. The code should read:

start--; // This is the new line

female = 3.5 * start - 108

male = 4.0 * start - 128

Typo in Source Code
In the readme.txt file in the zip archive, from chapter 5 and below:


Should be

Printer-Ready Version   Share This
With you wherever you go: pdf + ePub + kindle -- DRM-free