Maybe I need to look at this the other way round. Where can I put a lambda?
Doesn't help, unfortunately. Both
var x = (a, b) => a + b;
var y = (a + b);
are valid, and the compiler can't tell the difference until it reaches the comma.
Maybe I need to look at this the other way round. Where can I put a lambda?
Doesn't help, unfortunately. Both
var x = (a, b) => a + b;
var y = (a + b);
are valid, and the compiler can't tell the difference until it reaches the comma.