fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int[] array = new int[3] {1, 2, 3};
  8.  
  9. // Desired output {1, 2, 3}
  10. Console.WriteLine("Values : {{{0}}}", string.Join(", ", array));
  11. }
  12. }
Success #stdin #stdout 0.04s 23992KB
stdin
Standard input is empty
stdout
Values : {1, 2, 3}