Errata


Print Print Icon

Submit your own errata for this product.


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



Version Location Description Submitted By
Printed Page 18
3rd paragraph, last sentence

The sentence states: "For more on DataContext, see Recipe 1.6". Since this IS recipe 1.6, the pointer is obviously incorrect. I was unable to find what recipe it should be, so the sentence should probably be deleted.

Al Norman 
Printed Page 36
Last paragraph, 2nd to last line

Surrogate character is listed as value greater than 64K. I don't think that's correct. 64K is the
maximum unicode. Table 2-3 on page 39 has the correct values.

Anonymous 
Printed Page 42-46
Code examples

The variable 'int count' appears not to be used for any purpose in method FindAll().

Anonymous 
Printed Page 59
First code sample under "Solution"

The lines:

int actualInt = Int32.Parse(longString); // longString = 7654321

NumberStyles.AllowLeadingSign); // dblString = "-7654.321"

should probably look like this for clarity:

int actualInt = Int32.Parse(longString); // actualInt = 7654321

NumberStyles.AllowLeadingSign); // actualDbl = -7654.321

Anonymous 
Printed Page 247
Sentence just before the "Discussion" heading

it says, "records the occurrence of a divide-by-zero exception". This should instead be an overflow
exception, based on the sample code.

Anonymous 
Printed Page 620
upload file example

The "upload a file" example in the middle of page 620 never calls client.UploadFile().

Alan Esenther 
Printed Page 801
FahrenheitToCelsius method

The first two code methods on this page are CelsiusToFahrenheit() and FahrenheitToCelsius().

The first method is correct and it multiplies by 1.8.
The second method is incorrect. It should either multiply by (5/9) which is less than 1.8 or divide by 1.8.

Anonymous 


"...bigger and better than ever, with helpful recipes that are up to date with the new technology that is included in C# 3.0."
--T. Michael Testi, Blogcritics.org