Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 333 Bytes
using System;
using System.Collections.Generic;
class A {
static int Main ()
{
A [] aa = new A [1];
IList<object> io = aa;
try {
io [0] = new object ();
A a = aa [0];
Console.WriteLine ("{0}", a.GetType ());
} catch (ArrayTypeMismatchException) {
return 0;
}
return 1;
}
}
Jump to Line
Something went wrong with that request. Please try again.