List of strings into a comma separated string

12/28/2010 4:37:46 PM

Convert a sequence of strings into one string with a delimiter separating each projected string element.


string[] wordArray = { "one", "two", "three" };
string wordString = wordArray.Aggregate((current, next) => current + ", " + next);