摘要: 一、泛型概念:用起来类似模板,增加代码的复用性。 二、举例说明: 1 public class Program 2 { 3 static void Main(string[] args) 4 { 5 int obj = 2; 6 Test<int> test = new Test<int>(obj) 阅读全文