LANGUAGE
Static local function
A local helper that cannot capture enclosing locals or parameters.
Formal Syntax & Structure
csharp syntaxcsharp
static int Name(int n) => expression;Working Example
Example Snippetcsharp
static int Double(int n) => n * 2;