Error!
Success!

Code for List.Find in . Net Framework 2.0

0
kicks

Code for List.Find in . Net Framework 2.0  (Unpublished)

In one of my project I was in need of the List.FindAll method in . Net 2.0. I was unable to find any useful enough details about this, even though I did a good amount of searching in google. After a while, I ended up in the following code . My need was to find the exact object of my custom class in the collection given, matching my criteria. The List.FindAll accepts a predicate as parameter in which we can specify our own criteria. Predicate (System.predicate) is a new facility introduced in .Net 2.0 which enables us to mention our custom criteria.........


Kicked By:
Drop Kicked By: