I'm just learning about lambda expressions and was reading Scott's blog on Lambda expressions...and want to understand where Lambda expressions can be used. In his blog, http://weblogs.asp.net/scottgu/archive/2007/04/08/new-orcas-language-feature-lambda-expressions.aspx , he has a lambda expression within a LINQ query in sample A, and also standalone as in sample B. Why is that? What is the benefit of either scenario? Can't you achieve the same results in sample B if you include it in your LINQ query?
Read More...