LINQ in Action roller

LambdaExpressions in LINQ - can they stand alone outside of a LINQ query?

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...
Published Sunday, September 28, 2008 8:37 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication