摘要: http://space.itpub.net/14466241/viewspace-624132示例代码如下:namespace SampleListT{ class Program { static void Main(string[] args) { //using System.Collections.Generic; 命名空间中的List<T> //using System.Collections; 命名空间中的ArrayList //都实现了列表集合,一个是泛形集合,一个是非泛型的 //下面我们将Person对象加到集合中 Person p1 = new Person( 阅读全文
posted @ 2011-05-27 13:49 jisuanji110 阅读(1384) 评论(0) 推荐(1) 编辑