摘要: 做成思维导图了~ArrayList和数组1,数组的声明和实例化View Code Type[] Array-name数据类型[ ] 数组名;string[] names;names=new string[5];2,数组元素的设置和存取访问View Code SetValue方法name[2]="James";name.SetValue("James", 2)GetValue方法myname=name[2]myname=sales.GetValue(2)3,检索数组元数据的方法和属性View Code ArrayListLength:返回数组所有维数内元素 阅读全文
posted @ 2012-11-15 19:52 尼姑哪里跑 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 集群线性群集非线性群集线性群集直接存取群集(数组,字符串,结构)ArrayList,StringBuild,Struct顺序存取群集(栈,队列)Stack,Queue索引群集(散列表,字典)Hashtable,Directionary非线性群集层次群集(树-二叉树,堆)组群集(集合,图,网络)通过CollectionBase类实现Collection类View Code class Collection:CollectionBase { public void Add(object item) { InnerList.Add(item);... 阅读全文
posted @ 2012-11-15 14:08 尼姑哪里跑 阅读(194) 评论(0) 推荐(0) 编辑