static void Main(string[] args) { int[] a = new int[5] { 1, 2, 3, 4, 5 }; foreach(int b in a); Console.WriteLine(b);
Console.ReadLine();
}