17 lines
239 B
C#
17 lines
239 B
C#
|
// CS0230: Type and identifier are both required in a foreach statement
|
||
|
// Line: 12
|
||
|
|
||
|
using System;
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static void Main()
|
||
|
{
|
||
|
int [] a = new int [5] {5, 4, 3, 2, 1};
|
||
|
|
||
|
foreach (int ) {
|
||
|
Console.WriteLine (x);
|
||
|
}
|
||
|
}
|
||
|
}
|