PreviousNext

Introducing C# 9: Static anonymous functions

by anthonygiretti, 2020-10-21T01:54:22.575Z

C# 9 brings an important improvement to anonymous functions by allowing the modifier static on them and we now have static anonymous functions ! Why Microsoft brought this feature ? Because allocation matters ! Microsoft explains here that lambda are not cost less (https://devblogs.microsoft.com/premier-developer/dissecting-the-local-functions-in-c-7/) :

Read More