Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# reduce a collection to a string

string result = string.Join(";", fooList.Where(x=>x.property == "bar").Select(x=>x.title));
 
PREVIOUS NEXT
Tagged: #reduce #collection #string
ADD COMMENT
Topic
Name
6+1 =