summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0428-3.cs
blob: 61b788edace1774aa9993322f60be89c6f582251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0428: Cannot convert method group `Count' to non-delegate type `int'. Consider using parentheses to invoke the method
// Line: 11

using System.Linq;

public class A
{
	public A ()
	{
		string [] test = new string [5];
		A [] array = new A [test.Count];
	}
}