摘要: C#List典型用法所属命名空间:System.Collections.Genericusing System.Collections.Generic;public class List : IList, ICollection, IEnumerable, IList,ICollection, IE... 阅读全文
posted @ 2014-04-14 22:28 x_window 阅读(585) 评论(0) 推荐(1) 编辑
摘要: C# ArryList实例ArryList的声明,添加元素,删除元素,遍历元素,以及ArryList的转化为一维指定数组代码及详解如下:using System;using System.Collections.Generic;using System.Text;using System.Colle... 阅读全文
posted @ 2014-04-14 22:23 x_window 阅读(454) 评论(0) 推荐(0) 编辑
摘要: c# arrayList遍历1、ArrayList定义System.Collections.ArrayList类是一个特殊的数组(即动态数组)。通过添加和删除元素,就可以动态改变数组的长度。2.优点动态的增加和删除元素实现了ICollection和IList接口灵活的设置数组的大小3.ArrayLi... 阅读全文
posted @ 2014-04-14 21:53 x_window 阅读(2408) 评论(0) 推荐(0) 编辑