摘要:
C#泛型列表List基本用法总结namespace SampleListT{ class Program { static void Main(string[] args) { //using System.Collections.Generic; 命名空间中的List //using System.Collections; 命名空间中的ArrayList //都实现了列表集合,一个是泛形集合,一个是非泛型的 //下面我们将Person对象加到集合中 Person p1 = new Person( "aladdin" , 20 ); P... 阅读全文
posted @ 2013-08-02 08:39
王力之
阅读(278)
评论(0)
推荐(0)