Wednesday, May 30, 2012

What is this C# syntax called?

SomeFunction (() => {


DoSomething (); });

What is the name of this syntax (the () => ...)?

Answer: This is called Lambda Expression (parameterless lambda expression)

No comments:

Post a Comment