From 84cba077b7eaef91318607cd4931897c663b82c5 Mon Sep 17 00:00:00 2001 From: Mark J Price Date: Tue, 17 Jan 2023 12:27:19 +0000 Subject: [PATCH] Added item for page 272 --- 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 bde7e4b..6605974 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** (20 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. +[**Errata** (21 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. [**Improvements** (3 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 e605d2d..7bb0b66 100644 --- a/docs/errata/errata.md +++ b/docs/errata/errata.md @@ -1,4 +1,4 @@ -**Errata** (20 items) +**Errata** (21 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. @@ -14,6 +14,7 @@ If you find any mistakes, then please [raise an issue in this repository](https: - [Page 185 - Creating a class library that needs testing](#page-185---creating-a-class-library-that-needs-testing) - [Page 188 - Running unit tests using Visual Studio Code](#page-188---running-unit-tests-using-visual-studio-code) - [Page 244 - Init-only properties](#page-244---init-only-properties) +- [Page 272 - Defining struct types](#page-272---defining-struct-types) - [Page 275 - Releasing unmanaged resources](#page-275---releasing-unmanaged-resources) - [Page 322 - Revealing the location of a type](#page-322---revealing-the-location-of-a-type) - [Page 330 - Publishing a self-contained app, Page 354 - Exercise 7.3 – Explore PowerShell](#page-330---publishing-a-self-contained-app-page-354---exercise-73--explore-powershell) @@ -141,6 +142,12 @@ In Step 1, the project name `CalculatorLibUnitTest` should be `CalculatorLibUnit In Step 1, I say to add a new file named `Records.cs` to the `PacktLibraryNetStandard2` project/folder. I should have said to the `PacktLibraryModern` project/folder. +# 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). + +In Step 4, the output should be formatted using the "command line" style like in Step 6 instead of the "code" style so that it has the black background. + # Page 275 - Releasing unmanaged resources > Thanks to `Wuu#0348` on the Packt Discord channels for raising this issue.