ERRATA
- p63 9th line from bottom (last statement in code example):
The identifier total should be totalNoOfExams.
- p64 9th line after Table 3.1:
Same correction as on page 63.
- p71 last line: The int type gives us 10 digits (not 11).
- p71 2nd row of Table 3.2: The value range of the int
type is -2147483648 to 2147483647. (The upper limit is wrong.)
- p71 5th line after Table 3.2: The integer range for the
sbyte type is shown incorrectly, it should be -128 to 127.
- p128 last but one line: The format specification in the
call to the WriteLine method is incorrect. That line in the
program should read
Console.WriteLine("{0,4} {1,10:F1}", month, rainfall[month-1]);
- p130, 6th line: the same error as on page 128.
- p191 line 25 (declaration of operators array) - delete;
the array is never used.
- p285 line 1 of program Stats.cs: the namespace should be written
with a capital letter, like this
using System;
- p325 3rd line from bottom - change the first line of the definition
of the operator overloading for < to
public static bool operator < (object o1, object o2) {
- p358, 3rd line in "Thread Creation and Start" form, change to
new ThreadStart(object.RunMethodName)).Start();