c# list to string

C#
List<string> names = new List<string>() { "John", "Anna", "Monica" };
string result = string.Join(",", names.ToArray());using System.Linq;
string str = list.Aggregate((x, y) => x + ',' + y);
Source

Also in C#: