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

cs0573.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2100bfd5b53ea8916ca7ecafd929e95c3929f9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0573.cs: can not initializer fields in structs
// Line: 5
struct A {
	int a = 1;
}

class D {
	static void Main ()
	{
		A [] a = new A [10];

	}
}