list of string concat c# code example
Example 1: c# join string array
var combined = String.Join(",", new String[]{"a","b"});
// a,b
Example 2: 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));