I read an answer to a question on Stack Overflow that contained the following suggested code:
Action logAndEat = ex =>
{
// Log Error
Thanks everyone for the great answers which I have up-voted, but I thought I'd summarize them to try and capture the pros and cons in one answer.
Pros of using a lambda expression (LE) instead of a private method:
Cons of using a lambda expression instead of a private method:
There is also the more subjective issue of maintainability and one could argue that LE are not as well understood by most developers as a private method and thus are somewhat less maintainable. One could also argue that a LE improves maintainability because it is encapsulated in the method in which it is called as opposed to a private method which is visible to the entire class.