by Mark Michaelis ISBN-13: 978-0-13-597226-7 IISBN-10: 0-13-597226-4 Copyright © 2021 Pearson Education, Inc. First printing, October 2020
The following corrections will be made in the second printing. (To determine which printing you have, turn to page IV of your book. The last line on that page contains the printing information.)
Found by | Chapter | Page | Correction |
---|---|---|---|
Salim Gangji | 1 | 12 | First paragraph: For a single executable, append /p:PublishSingleFile=true -p:PublishSingleFile=true to the command |
Pieter Le Roux | 1 | 31 | Last Line: Table 1.2 shows four different C# comment types. The program in |
Benjamin Michaelis | 1 | 31 | Last Line: Table 1.2 shows four different C# comment types. The program in Listing 1.19 includes |
Salim Gangji | 2 | 51 | Output 2.3: |
Alden Bansemer | 2 | 55 | Listing 2.9: result == number {result} == {number} . Output 2.7: result == number 1.61803398874989 == 1.61803398874989 . |
Alden Bansemer | 3 | 89 | Listing 3.4: Changed class 3.2->3.Uppercase class Uppercase . |
Alden Bansemer | 3 | 113 | Output 3.2: TypeScript replaced with Visual Basic as last element in sorted array and first element in the reversed, sorted array. |
Alden Bansemer | 3 | 114 | Output 3.3: Added missing second line of output: 3 . |
Alden Bansemer | 4 | 129 | Listing 4.7: Removed Trace.Assert to match codebase. Removed example #4, float converted to double now matches the double. |
Alden Bansemer | 4 | 130 | Output 4.6: Updated results of Listing 4.7 to remove 4.20000006258488 != 4.20000028610229 |
Pieter Le Roux | 5 | 215 | Output 5.4: ERROR: You must specify the URL |
Pieter Le Roux | 6 | 285 | Last Line in second paragraph: "DO use nameof for the paramName argument passed into exceptions like Argument |
Pieter Le Roux | 7 | 359 | return |
Benjamin Michaelis | 7 | 359 | make the s in 'string bold' "set { string[] names = value.Split(' ');" |
Pieter Le Roux | 10 | 452 | Last paragraph: "so |
Pieter Le Roux | 10 | 458 | Output 10.2: "serialNumber1 reference equals serialNumber2 serialNumber1 equals serialNumber2 serialNumber1 equals serialNumber3" |
Pieter Le Roux | 10 | 460 | Note: "The implementation of object.Equals(), the default implementation on all objects before |
Pieter Le Roux | 10 | 464 | "To correct this flaw, it is important to |
Pieter Le Roux | 12 | 581 | Listing 12.47: .class |
Benjamin Michaelis | 12 | 582 | Listing 12.48: .class public auto ansi beforefieldinit |
Pieter Le Roux | 12 | 542 | "you can see that the type parameter will be used for the |
Pieter Le Roux | 12 | 547 | "constructor that takes the initial values for both |
Pieter Le Roux | 12 | 551 | "// Use System.ValueTuple<string,Contact> prior to C# 7.0 " |
Pieter Le Roux | 12 | 579 | "Consider the IPairInitializer interface in Listing 12.45." |
Pieter Le Roux | 13 | 602 | "the compiler can |
Pieter Le Roux | 14 | 639 | Output 14.2: " |
Pieter Le Roux | 15 | 686 | tabs in Output 15.9 doesn't reflect Listing 15.21. Fixed by updating source code |
Pieter Le Roux | 15 | 700 | // ERROR: Cannot implicitly convert type // 'AnonymousType |
Pieter Le Roux | 16 | 706 | Reorder keywords to alphabetical order in Listing 16.1, and add missing keywords |
Pieter Le Roux | 16 | 707 | "private static void Show |
Pieter Le Roux | 16 | 712 | Output 16.3 is missing "when" |
Pieter Le Roux | 16 | 715 | "File.GetLastWriteTime(fileName)" |
Pieter Le Roux | 16 | 719 | Add "when" to Output 16.6 ("when*" was missing from source code) |
Pieter Le Roux | 16 | 721 | Add "when" to Output 16.7 ("when*" was missing from source code) |
Pieter Le Roux | 16 | 725 | in Listing 16.16 and Listing 16.17, add "!" prior to "word. Contains('*')" to match Listing 16.01 |
Pieter Le Roux | 17 | 733 | Saw List[6] could throw error. Changed to "{ List[ |
Pieter Le Roux | 17 | 760 | "as you did in both CSharp |
Pieter Le Roux | 18 | 776 | errorMessage listed twice in listing 18.3 |
Pieter Le Roux | 18 | 807 | "let's reexamine Listing |
Pieter Le Roux | 19 | 824 | "The worker thread will write |
Pieter Le Roux | 19 | 825 | lambda expression prints out |
Pieter Le Roux | 19 | 840 | " |