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