您的抽象类应该是通用的.
abstract class Base{ public abstract List Get(); } class SubOne : Base { public override List Get() { } } class SubTwo : Base { public override List Get() { } }
如果需要引用不带泛型类型参数的抽象类,请使用接口:
interface IBase { //common functions } abstract class Base: IBase { public abstract List Get(); }