Making effective use of data collections is an essential skill of software developers. Nearly all computer science programs require students to take one or more courses focused solely on data structures. The various collection types within the .NET Framework implement many of the most common data structures. The MSDN reference site lists the following as [...]
Tag Archives: Collection
Filtering/Retrieving/Getting Items in Generic Collection Asp.Net C#
Posted by james on April 26, 2011
0 comments
To filter items in a generic collection, we use the FindAll method with a match predicate—a predicate that returns true when an item in the collection meets our custom filter criteria. Let’s dig into some examples. To begin with, we’ll look at how we can use the List.FindAll method to find all employees who are [...]