是否有方法测试T是否继承/实现了类/接口?
private void MyGenericClass<T> () { if(T ... inherits or implements some class/interface }
相似问题