Static local functions in C# are used to make the child functions (Methods) static. Using the static child method helps the reference sharing of variables between the parent method and the child method.
This Static local function feature is added in C# 8 along with DotNet Core 3.0
#csharp #nitishkaushik #programming