-//
-// CS0230.cs: foreach statement must contain the type and the variable identifier
-//
+// CS0230: Type and identifier are both required in a foreach statement
+// Line: 12
using System;
{
int [] a = new int [5] {5, 4, 3, 2, 1};
- foreach (int in a) {
+ foreach (int ) {
Console.WriteLine (x);
}
}