get properties from list c# 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();