假定以下类型定义:
public interface IFoo<T> : IBar<T> {}
public class Foo<T> : IFoo<T> {}
当只有整齐的类型可用时,如何确定该类型是否Foo实现了通用接口IBar<T>?
HUH函数
斯蒂芬大帝
噜噜哒
相关分类