C# make property of class a 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();