Paul-Sebastian Manole
paulsebastian.codes

paulsebastian.codes

Subscribe to my newsletter and never miss my upcoming articles

Static anonymous functions: New with C# 9

Mar 7, 20223 min read 494 views

Yesterday I learned that C# 9 has static anonymous functions and that I should probably use them by default, and you should probably too. But there's a caveat, you can only capture const or static state within them. Here is an example: int nonStaticV...

Static anonymous functions: New with C# 9
Do not be afraid to (over-)use Value Objects
Demystifying C#'s Parameter Modifiers and Value and Reference Types
A solution to Deep Cloning in C#