ICYMI C# 8 New Features: Prevent Bugs with Static Local Functions

added by DotNetKicks
3/5/2021 2:19:20 AM

529 Views

This is part 6 in a series of articles. C# 7 introduced local functions that allow you to create functions "local" to another function or method. These local functions are implicitly private to the enclosing function and cannot be accessed by other methods/properties/etc. in the class.


0 comments