public string NewTest <T, U>() where T : new() { var a = new T(); var b = new MyGenClass1 <T>(); var c = new T[10]; var d = new T[30, 30]; var e = new MyGenClass2 <T> [5]; var f = new MyGenClass2 <T> [5, 13]; return("NewTest - " + a + " - " + b + " - " + c + " - " + d + " - " + e + " - " + f); }
public string BoxingAndNullableTest <T, U>(MyGenClass1 <KeyValuePair <T, U> > t, MyGenStruct1 <Dictionary <T, U> > u, MyGenStruct1 <Dictionary <T, U> >?u2) { return("BoxingAndNullableTest - " + this + "::(" + t + " - " + u + " - " + u2 + ")"); }