Errata

Programming C#

Errata for Programming C#

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 10
First note at the top of the page

Java programmers take note: Main() is the entry point for every C+ program, similar
in some ways to the Java main() method.
should be:
Java programmers take note: Main() is the entry point for every C+ program, similar
in some ways to the Java run() method.

Anonymous   
Printed
Page 70 & 71
class Tester Main() method on page 70 and explanatory text on page 71

Tester.Main() on page 70 uses DateTime property Now
whereas the text on page 71 describe this as a method Now()

Anonymous   
Printed
Page 195
Example after 2nd paragraph

The "For" statement is shown with a capital 'F', which won't work - should be a lower case 'f'.

Anonymous   
Printed
Page 198
2nd example

'Capacity' is spelled incorrectly ("Capcity")

Anonymous   
Printed
Page 202
Paragraph 6 "Before invoking Sort()..."

"ComparisionType" should be "ComparisonType"

Anonymous   
Printed
Page 225
last sentence of page

"In Unicode (as in ASCII), a lowercase letter has a smaller value that an uppercase letter".
should be:
"In Unicode (as in ASCII), a lowercase letter has a larger value that an uppercase letter".

Anonymous   
Printed
Page 230
above middle of page

"This extracts from x1+1 to the end of the line,"

NOW READS:
"This extracts ix+1 to the end of the line,"

Page 252 First paragraph, last sentence
...assume you don't want to allow division by zero...

NOW READS:
...assume you don't want to allow zero to be divided by any number...

Anonymous    Mar 01, 2004
Printed
Page 267
3rd paragraph

Comparison on page 267 is written with capital C and on pages 268, 269, and 270 with
small c. On page 271,272,273 Comparison is again with capital C.

Anonymous   
Printed
Page 303
end of 2nd Paragraph

"ASyncCallBack" should be "AsyncCallBack" with a lowercase "s".

Anonymous   
Printed
Page 351
Figure 12-14

The figure 13-14 does not show WinZip examining a cab file.

Anonymous   
Printed
Page 354
Figure 13-18

Figure 13-18 is supposed to be a figure of the FileCopier Setup Project and its
properties (as refered to by the second paragraph). Instead is it a figure of the
File Copier form and its properties. Figure 13-18 is a duplicate of figure 13-8.

Anonymous   
Printed
Page 375
10th line from the top

new System.Data.Sql.SqlConnection(connectionString);

NOW READS:
new System.Data.SqlClient.SqlConnection(connectionString);

Anonymous    Mar 01, 2004
Printed
Page 375
5th code snippet

Semicolon missing at end of first line

myCommand = new System.Data.SqlClient.SqlCommand()

Anonymous   
Printed
Page 386
5th line from the bottom

Remember that DataTable was...

NOW READS:
Remember that dataTable was...

Anonymous    Mar 01, 2004
Printed
Page 510
Middle of page under 'Finding type methods'

System.Reflection.BindingFlags does not contain a definition for 'LookupAll'.
Besides, 'GetMembers' did not use 'BindingFlags' in example 18-5 (It is from example
18-5 that this code is understood to be a clip of).

Anonymous   
Printed
Page 575
Just below middle of page, in code snippet

The comment says "assign the decremented value and display the results". The value
is not assigned in the code since it was assigned already.

Also, the comment is inside the Incrementer() function, so it should say
"incremented" value.

This problem recurs in the code snippet at the top of page 577.

Anonymous   
Printed
Page 596
2nd line up from the bottom

Each buffer-ful of bytes is written to the output file.

should be

Each buffer full of bytes is written to the output file.

Anonymous   
Printed
Page 635-636
Ex 21-16, DeSerialize() function

The DeSerialize() function should not be in bold. Nothing has changed since the
previous example.

Anonymous