2
public interface IFoo<TKey, FooEntity<TValue>> {
// stuff
}
我得到这个错误:
类型参数FooEntity是隐藏式FooEntity类型参数FooEntity是隐藏式FooEntity
public class FooEntity<T> {
private T foo;
}
我怎样才能解决这一问题?
我希望能够在其他地方实现IFoo接口。