From f7cda345da1cd19024a22fac54a1aa75d5edc08b Mon Sep 17 00:00:00 2001 From: Mark J Price Date: Sat, 1 Apr 2023 12:08:28 +0100 Subject: [PATCH] Add item for page 75 --- docs/errata/README.md | 2 +- docs/errata/errata.md | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/errata/README.md b/docs/errata/README.md index 5a2bed3..a1a0440 100644 --- a/docs/errata/README.md +++ b/docs/errata/README.md @@ -2,7 +2,7 @@ If you find any mistakes in the seventh edition, *C# 11 and .NET 7 - Modern Cross-Platform Development Fundamentals*, or if you have suggestions for improvements, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com. -[**Errata** (36 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. +[**Errata** (37 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. [**Improvements** (26 items)](improvements.md): Changes to text or code that would improve the content. These are optional. diff --git a/docs/errata/errata.md b/docs/errata/errata.md index 72ce4eb..0aaf596 100644 --- a/docs/errata/errata.md +++ b/docs/errata/errata.md @@ -1,4 +1,4 @@ -**Errata** (36 items) +**Errata** (37 items) If you find any mistakes, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com. @@ -8,6 +8,7 @@ If you find any mistakes, then please [raise an issue in this repository](https: - [Page 11 - Understanding the journey to one .NET and Understanding .NET support](#page-11---understanding-the-journey-to-one-net-and-understanding-net-support) - [Page 36 - Getting help for the dotnet tool](#page-36---getting-help-for-the-dotnet-tool) - [Page 37 - Getting definitions of types and their members](#page-37---getting-definitions-of-types-and-their-members) +- [Page 75 - Comparing double and decimal types](#page-75---comparing-double-and-decimal-types) - [Page 83 - Formatting using numbered positional arguments](#page-83---formatting-using-numbered-positional-arguments) - [Page 83 - Formatting using interpolated strings](#page-83---formatting-using-interpolated-strings) - [Page 85 - Getting text input from the user](#page-85---getting-text-input-from-the-user) @@ -108,6 +109,12 @@ To change back to the original Visual Studio 2022 behavior that is described in *Figure 1.3: Disabling Source Link for the Go To Definition feature* +# Page 75 - Comparing double and decimal types + +> Thanks to [Papa Smurf](https://github.com/GoPapaSmurf) for raising this [issue on 31 March 2023](https://github.com/markjprice/cs11dotnet7/issues/53). + +At the end of the last paragraph, I mention a method that can determine if a number value is *not-a-number*. The method name was written in the book as `IsNan`. It should be `IsNaN`. + # Page 83 - Formatting using numbered positional arguments At the end of the section, I say, "The `Write`, `WriteLine`, and `Format` methods can have up to four numbered arguments, named `arg0`, `arg1`, `arg2`, and `arg3`."