// // CS0230.cs: foreach statement must contain the type and the variable identifier // using System; class X { public static void Main() { int [] a = new int [5] {5, 4, 3, 2, 1}; foreach (int in a) { Console.WriteLine (x); } } }