You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Erroneous descriptions in file: "try-samples/csharp8/static-local-functions.md" #54
There is no function named "LocalFunction" declared but a function named "localCounter".
There is no variable "y" declared in the enclosing scope.
There is no method "M" declared which forms the enclosing scope but a function named "Counter".
The page shows also the anti-pattern of "constantly renamed variables" and doesn't stick with the
C# naming conventions. That are no errors but it's bad style. Since there is a good chance that programming novices might read this page, they might come to the conclusion that bad style isn't something to worry about.
Activity