c# object list attribute to string

C#
List<string> firstNames = people.Select(person => person.FirstName).ToList();
Source

Also in C#: