summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-initialize-04.cs
blob: e78beeef27559f185828667efb4401679fc5f429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


using System;
using System.Collections.Generic;

public class C
{
	static readonly List<int> values = new List<int> { 1, 2, 3 };
	
	public static int Main ()
	{
		if (values.Count != 3)
			return 1;
		
		Console.WriteLine ("OK");
		return 0;
	}
}