From 588e1186ff745a134917877e3aaf3baec6b37ee9 Mon Sep 17 00:00:00 2001 From: Mark J Price Date: Thu, 16 Mar 2023 09:44:39 +0000 Subject: [PATCH] Add item for page 263 --- docs/errata/README.md | 2 +- docs/errata/errata.md | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/errata/README.md b/docs/errata/README.md index f7c55c2..935c24d 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** (34 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. +[**Errata** (35 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. [**Improvements** (22 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 6902a21..bec4885 100644 --- a/docs/errata/errata.md +++ b/docs/errata/errata.md @@ -1,4 +1,4 @@ -**Errata** (34 items) +**Errata** (35 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. @@ -22,6 +22,7 @@ If you find any mistakes, then please [raise an issue in this repository](https: - [Page 231 - Requiring properties to be set during instantiation](#page-231---requiring-properties-to-be-set-during-instantiation) - [Page 244 - Init-only properties](#page-244---init-only-properties) - [Page 258 - Defining and handling events](#page-258---defining-and-handling-events) +- [Page 263 - Comparing objects using a separate class](#page-263---comparing-objects-using-a-separate-class) - [Page 272 - Defining struct types](#page-272---defining-struct-types) - [Page 275 - Releasing unmanaged resources](#page-275---releasing-unmanaged-resources) - [Page 277 - Making a value type nullable](#page-277---making-a-value-type-nullable) @@ -305,6 +306,19 @@ The `$` can be removed, as shown in the following code: WriteLine("Stop it!"); ``` +# Page 263 - Comparing objects using a separate class + +> Thanks to [Masoud Nazari](https://github.com/MAS-OUD) for raising this [issue on 15 March 2023](https://github.com/markjprice/cs11dotnet7/issues/43). + +In Step 1, the following comment has an extra slash: +```cs +/// ...if they are equal... +``` +It should be: +```cs +// ...if they are equal... +``` + # Page 272 - Defining struct types > Thanks to [Ali Koleiny Zadeh](https://github.com/alikzalikz) for raising this [issue on 15 January 2023](https://github.com/markjprice/cs11dotnet7/issues/18).