LANGUAGE
Local function
A helper declared inside a containing member or local scope.
Formal Syntax & Structure
csharp syntaxcsharp
int Name(int n) => expression;Working Example
Example Snippetcsharp
int Cost(int n) => n * rate;A helper declared inside a containing member or local scope.
int Name(int n) => expression;int Cost(int n) => n * rate;