Compartilhar via


All About Lamdas

I’ve been reading Mike Taulty’s blog for ages now, and I love his balance of technologies, the length of his posts, and his style of writing. So if you’re not a subscriber, go check it out.

But I just had to draw attention to his recent post – “Anonymous Methods, Lambdas, Confusion”. It’s a well written walkthrough of how Delegates have evolved into Lambdas and more – so if you’ve seen code that looks a bit like this;

int result = Calculate(

    list,

    (a, b) => (a * b) * 2);

And you’ve thought “what the...?!” - I’d recommend giving it a read.

Comments