Exemplo n.º 1
0
    public static void Test()
    {
        object x1 = new Recursive2 <int, int>(null);
        object x2 = new Mixed2 <int, int>(null, null, null);
        object x3 = new NonRecursive2 <int, int>(null);
        object x4 = new Expansive2 <int, int>(null);

        object y1 = new Recursive2 <string, string>(null);
        object y2 = new Mixed2 <string, string>(null, null, null);
        object y3 = new NonRecursive2 <string, string>(null);
        object y4 = new Expansive2 <string, string>(null);
    }
Exemplo n.º 2
0
 public NonRecursive2(NonRecursive2 <int, int> a2)
 {
     f2 = a2;
 }