Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0230.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 327eb6137aae4064b7a604eff65b08c26674e17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0230.cs: 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 in a) {
			Console.WriteLine (x);
		}
	}
}