diff --git a/docs/errata/errata.md b/docs/errata/errata.md index 49331d3..290d829 100644 --- a/docs/errata/errata.md +++ b/docs/errata/errata.md @@ -37,8 +37,8 @@ If you find any mistakes, then please [raise an issue in this repository](https: - [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) - [Page 357 - Working with complex numbers](#page-357---working-with-complex-numbers) -- [Page 399 - Managing directories](#page-399---managing-directories) - [Page 362 - Joining, formatting, and other string members](#page-362---joining-formatting-and-other-string-members) +- [Page 399 - Managing directories](#page-399---managing-directories) - [Page 412 - Compressing streams](#page-412---compressing-streams) - [Page 454 - Scaffolding models using an existing database](#page-454---scaffolding-models-using-an-existing-database) - [Category class changes](#category-class-changes) @@ -500,6 +500,10 @@ Although this is the behavior in .NET 6, in .NET 7 (and .NET 8 previews), the fo In the next edition, I will add a note about this. Since the official documentation still shows the behavior of .NET 6, this seems odd. My guess is that they decided to change to angle brackets and semi-colons because some cultures use round brackets to indicate negative numbers and use commas for decimal numbers. Therefore it would be confusing to have a mix of round brackets and commas meaning different things. Its a shame the documentation does not explain this and show the .NET 7 and later new default formats. +# Page 362 - Joining, formatting, and other string members + +In the table, `string.IsNullOrWhitespace` should be `string.IsNullOrWhiteSpace`. + # Page 399 - Managing directories > Thanks to [Dario Bosco](https://github.com/DarioBosco) for raising this [issue on 6 February 2023](https://github.com/markjprice/cs11dotnet7/issues/26). @@ -509,10 +513,6 @@ In Step 1, in the second bullet, I wrote, "Check for the existence of the custom > Note: the `Path.Exists` method was added in .NET 7. It is not available in earlier versions of .NET. -# Page 362 - Joining, formatting, and other string members - -In the table, `string.IsNullOrWhitespace` should be `string.IsNullOrWhiteSpace`. - # Page 412 - Compressing streams > Thanks to Bob Molloy for raising this issue via email.