You can use
Linq
for this.,
For example -
Suppose you have collection of Person data name as
PersonData
List<string> names = (from person in PersonData where person.PersonId == 1 select person.PersonName).ToList();
This will return the list of Person Name which id is 1.
Hope this will help you..