Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# list string return concatenate

string delimiter = ",";
List<string> items = new List<string>() { "foo", "boo", "john", "doe" };
Console.WriteLine(items.Aggregate((i, j) => i + delimiter + j));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #string #return #concatenate
ADD COMMENT
Topic
Name
9+3 =