说明传递的参数为泛型,而不仅仅是一种类型。 public void aa<T>(T a) { Console.WriteLine(a); }调用时可写:this.aa<int>(5);this.aa(string)("aaaa");