csharp linq aggregate string builder

Code Example - csharp linq aggregate string builder

                
                        string[] words = { "one", "two", "three" };
var res = words.Aggregate(
   "", // start with empty string to handle empty list case.
   (current, next) => current + ", " + next);
Console.WriteLine(res);