Archives by Tag 'linq lambda expressions .net framework 3.5 listbox list'

Querying Selected Items From ListItemCollection Using Lambda Expressions

By Tony - Last updated: Tuesday, May 27, 2008

You can use Linq and Lambda expressions along with the new extensions provided in the .NET framework 3.5 to filter those old school specialized collections like ListItemCollection. The key is to first convert the collection to a generic list using the Cast or ToList extension methods …. more on this in this article