You're wrong. A lambda can have a body. Compiles and executes:
new Func<string>(() => {
var foo = "bar";
return foo;
})(); new Func<string>(() => {
var foo = "bar";
return foo;
})();No comments yet.