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

cs0266-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca15722d6495dee74a694c536b19ddce9a8c3617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0266.cs: Cannot implicitly convert type 'object' to 'System.Collections.ArrayList'. An explicit conversion exists (are you missing a cast?)
// Line: 10

using System.Collections;

class X
{
	static Hashtable h = new Hashtable ();

	public static void Main ()
	{
		ArrayList l = h ["hola"] = new ArrayList ();
	}
}