Errata

C# in a Nutshell

Errata for C# in a Nutshell

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. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

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

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 8
in the footnote at the bottom of the page

http://www.microsoft.com/msj/defaulttop.asp?page=/msj/1197/inthisissuefeatures1197.htm

NOW READS:
http://www.microsoft.com/msj/1197/complus.aspx

Anonymous    May 01, 2004
Printed
Page 8
in the footnote at the bottom of the page

http://www.microsoft.com/msj/defaulttop.asp?page=/msj/1297/inthisissuefeatures1297.htm

NOW READS:
http://www.microsoft.com/msj/1297/complus2/complus2.aspx

Anonymous    May 01, 2004
Printed
Page 18
Last code example

Missing semicolon after "short z = (short)x"

Anonymous   
Printed
Page 25
Immediately above "Integral conversions" heading

Missing L in "U ulong" table entry. Should be "UL or LU ulong"

Anonymous   
Printed
Page 26
Under "Decimal Type" heading

The Decimal Type sub-section is missing the usual table with the headings "C# type", "System type" and "Size".

Anonymous   
Printed
Page 26
Last two lines on page

On these two lines and elsewhere in the text, char literals are incorrectly shown
starting with a back-quote (`) instead of with a single-quote (').

Anonymous   
Printed
Page 31
1st paragraph in the "Ref modifier" section

"To pass by reference, C# provides athe parameter modifier ref..."
should read:
"To pass by reference, C# provides the parameter modifier ref..."

Anonymous   
Printed
Page 33
Last sentence on page

Mentions "Operators in the same box..." but there are no boxes in Table 2-2.

Anonymous   
Printed
Page 57
Comment for LocalFile constructor

The comment for the LocalFile constructor says "... which calls URL's constructor"
when it should say "... which calls Location's constructor" because LocalFile derives
from Location, not URL.

Anonymous   
Printed
Page 116
2nd code snippet, 4th line

"IEnumerator ie = myc.GetEnumerator();"
should be:
"IEnumerator myc = mcoll.GetEnumerator();"

Anonymous   
Printed
Page 135
Last code block, first comment in body of Main member

"// Load the transform int the..." should be "// Load the transform into the...".

Anonymous   
Printed
Page 188
2nd last sentence in paragraph preceding "Deadlocks" heading

"First, execution may leave the lock statement blocked." should be "First, execution
may leave the lock statement block."

Anonymous   
Printed
Page 502
Fifth constructor (Stream, Encoding, bool, int)

Trivial formatting---the start of the entry is too far left.

Anonymous   
Printed
Page 677
2nd line of class description

``128 chayracters'' should be ``128 characters''

Anonymous   
Printed
Page 704
Final line: ``// Protected Instance Method''

This header should be moved to the top of the next
page, to keep the section name and the entry together.

Anonymous