markjprice / cs12dotnet8

Repository for the Packt Publishing book titled "C# 12 and .NET 8 - Modern Cross-Platform Development Fundamentals" by Mark J. Price
564 stars 164 forks source link

Error on page 265 #42

Closed ssvyst closed 3 months ago

ssvyst commented 3 months ago

Greetings,

I noticed a small error on page 265 of the book. In the sentence "In Program.cs, add statements to declare some more variables, including an out parameter named f declared inline, as shown in the following code:" it should be "h" instead of "f" as you can see in the following code illustration: Capture

Regards, Stanislav

markjprice commented 3 months ago

Thanks! I have added this as an errata item here: https://github.com/markjprice/cs12dotnet8/blob/main/docs/errata/errata.md#page-265---controlling-how-parameters-are-passed