Sunday, August 29, 2010

Lambda Expressions that Return Void

A lambda expression that returns void is not very useful in the context of functional programming because the only possible reason for such a function is that it has side-effects, and is not pure

http://blogs.msdn.com/b/ericwhite/archive/2006/10/03/lambda-expressions.aspx

Sometimes developers will use a void statement lambda expression for writing an event handler.

No comments: