using System; public class Test { public static void Main() { int[] array = {1,2,3,4,5} foreach(int i in array) { Console.Write({0}, i); } } }