In C#, you can do something开发者_JAVA技巧 like this:
SomeFunction (() => {
DoSomething ();
});
What is the name of this syntax (the () => ...
)?
This is called Lambda Expression
It's a parameterless lambda expression.
In C#, you can do something开发者_JAVA技巧 like this:
SomeFunction (() => {
DoSomething ();
});
What is the name of this syntax (the () => ...
)?
This is called Lambda Expression
It's a parameterless lambda expression.
精彩评论