C# how to make a property to a list of objeks 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();