Lambda vs Method Group
In this article, I will explain the differences between Lambda and Method Group.
I suggest you prefer Lambda over Method Groups.
Lambda expression can be cached by the .net runtime where as methods groups are not. I developed with .NET 7.
Bad use Method Groups:
Good use Lambda:
Benchmark:
Benchmark Results:
As we will see in this comparison and quality detail, it gives better results and better use than Lambda Method Groups.