79207616

Date: 2024-11-20 14:27:18
Score: 1
Natty:
Report link

That's correct: The static keyword in lambdas has NO effect on the IL or the JIT compiled code. It's purpose is to ensure/enfore you don't accidentally create a closure.

I still use it because it tells me quickly which Linq expressions are creating closures and which don't, because I am performance obsessed.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tom Toups