a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
271 B
C#
19 lines
271 B
C#
class list <a> {
|
|
}
|
|
|
|
class Nil <a> : list <a> {
|
|
public static Nil <a> single;
|
|
static Nil () {
|
|
single = new Nil <a> ();
|
|
}
|
|
}
|
|
|
|
|
|
public class Test {
|
|
public static void Main() {
|
|
list <int>[,] x = new list<int>[10,10];
|
|
x[0,0] = Nil <int>.single;
|
|
|
|
}
|
|
}
|