sealw · 2008-05-20 10:00:06 · 阅读: 697 如果是Java,基本上是一个泛型方法 public static <T> T getServiceInstance(Class<T> type) { } C#语法不会