c# List to List of properties 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();