Extension Methods Part 2 Lambda Expressions in Linq
Posted by: Jesse Liberty - Silverlight Geek,
on 10 Feb 2009 |
View original | Bookmarked: 0 time(s)
More: Extension Methods Part 1
In my previous entry on this topic I demonstrated how you can use Extension methods to add what appear to be new methods to existing classes. In this entry I will demonstrate how Extension methods enhance Linq by adding method queries using lambda expressions.
To see how this works, lets set up a simple query, with a display that will show the two ways we might execute that query using Linq.
Well start by creating a new Silverlight application and within the...