Update errata.md

This commit is contained in:
Mark J Price 2023-01-25 08:25:17 +00:00
parent 55f75dcb2e
commit 962511cd40

View file

@ -129,6 +129,8 @@ In Step 3, I wrote, "For the `firstName` variable" when I should have written, "
# Page 114 - Simplifying switch statements with switch expressions
> Thanks to [Ricky](https://github.com/r1c5) for raising this [issue on 25 January 2023](https://github.com/markjprice/cs11dotnet7/issues/19).
In Step 1, the code statement that outputs the four-legged cat information is missing the word "named", as shown in the following code:
```cs
Cat fourLeggedCat when fourLeggedCat.Legs == 4