Comment

Comment by nrkn

You're wrong. A lambda can have a body. Compiles and executes:

  new Func<string>(() => {
    var foo = "bar";
    return foo;
  })();
parent nrkn 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton