And one more, to find closure (pun intended). Using the "static" keywords on lambdas or anonymous functions will disallow them from capturing any variables or references of its enclosing scope. Cool! πŸ€—

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/static-anonymous-functions

#gamedev #unity3d #unitydev #dotnet #staypure

Static anonymous functions - C# 9.0 draft feature specifications

This feature specification describes static anonymous functions. Static anonymous functions are lambda expressions that are prohibited from accessing variables in the enclosing scope. That prevents them from creating a closure.

@PupReckon @VersWolf definitely a non sex haver here, sex is hex, dong is wrong #staypure #chaste #holy
Think twice before you make funny business before marriage. Do you want heaven for 4 seconds? Or 4ever? Stay strong out here kings #MakeAChoice #staypure