Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# object list attribute to string

List<string> firstNames = people.Select(person => person.FirstName).ToList();
 
PREVIOUS NEXT
Tagged: #object #list #attribute #string
ADD COMMENT
Topic
Name
4+3 =