Suppose I have a collection of strings:
\"foo\" \"bar\" \"xyz\"
And I would like to generate a comma separated values from the list into someth
String.Join is the right answer, but in the case of an IEnumerable, Linq is often shorter than a for loop:
someStringCollection.Aggregate((first, second) => first + ", " + second);