using System; public class Test { public static void Main() { var collection = new[] {1, 2, 3}; Console.WriteLine(string.Join(",", collection)); } }