csharp object list attribute to string

Code Example - csharp object list attribute to string

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