c# get list of one property out of object list code example
Example: c# list of properties from list of objects
List<string> firstNames = people.Select(person => person.FirstName).ToList();
List<string> firstNames = people.Select(person => person.FirstName).ToList();