2
我有泛型类是这样的:添加继承类的泛型类
public class MyClass<T>
where T : class
{
// method in here...
}
我尝试从另一个类使该类继承,像这样:
public class MyClass<T>
where T : class
: BaseMyClass
{
// method in here...
}
但它并没有工作。
是否有可能从另一个类派生的泛型类?以及如何做到这一点?