c# create list with properties from another list code example
Example: c# object list attribute to string
List<string> firstNames = people.Select(person => person.FirstName).ToList();
List<string> firstNames = people.Select(person => person.FirstName).ToList();