Local functions are defined within a method and aren't available outside of it. They have access to all local variables and support iterators, async/await and lambda syntax. This way, repetitions specific to a function can be functionalized without crowding the class. As a side effect, this improves intellisense suggestion performance
-
Notifications
You must be signed in to change notification settings - Fork 0
C# Local Functions are a great new feature in C# 7. Local functions are nested functions.
License
coderaction/local-functions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
C# Local Functions are a great new feature in C# 7. Local functions are nested functions.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published