Closed transbot closed 3 years ago
So sorry about the delay. I am just wrapping up C# 8.0. 😊 Please don't hesitate to provide feedback.
I have this change already in the next edition and, thanks to your email, I have updated the Erratahttps://github.com/IntelliTect/EssentialCSharp/blob/v7.0/Essential-C%23-v7.0-Errata.md as well.
Mark
P.75 "The result is that the number variable is available from both the true and false consequence of the if statement but not outside the if statement."
In fact, the variable is still in scope outside of the if block.
How do I modify the statement of the text?