Sleek Use of a Lambda Expression
Posted in Development
I can’t recall where I found it, but here's a sleek way to employ a lambda expression:
SomeButton.Click += (sender, e) => { .... };
I’s one of those moments when you say to yourself, “But of course!”
Then there’s also this really short event handler syntax.
