Skip to content

ADD entries in errata #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 22, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions EssentialC#6 Errata.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ The following corrections will be made in the second printing. (To determine whi

Chapter | Page | Correction
----------- | ------------ | ----------
1 | 14 | Listing 1.9: The class name should be `MiracleMax`. (The camelCase name of `miracleMax` must have occurred in a rename that wasn't caught during editing.)
1 | 16 | Listing 1.11: The second assignment of `miracleMax` was incorrectly made instead to an undeclared variable named `max`. The correct line of code is `miracleMax = "It would take a miracle.";`
1 | 22 | Listing 1.18 is a modification of Listing 1.16, not 1.15.
2 | 38 | Table 2.2: The literal suffix for the `double` type is incorrect. It should be `D or d`.
2 | 52 | Table 2.5: The last string.Compare statement contains two errors (a round bracket after strB parameter instead of a comma and ignoreCase should be bool instead of string). The correct statement is "static int string.Compare(string strA, string strB, bool ignoreCase)"
3 | 116 | System.Math.E was referred to as Euler's constant, but this is in fact Euler's number.
6 | 294 | The sentence that reads “The C# compiler allows the cast operator even when the type hierarchy allows an implicit cast” should instead read “… allows an implicit **conversion**.” <br><br> The second example on the page should read “or even when no **conversion** is necessary.”
Expand Down