摘要: 1.HashTeble: 形式特点:一个映射关系,其模式与ArrayList类似,键和值都可以是任意类型来进行插入,不做过多的限制。 应用实例: 1 static void Main() 2 { 3 Hashtable hashtable = new Hashtable(); 4 hashtable 阅读全文
posted @ 2022-03-09 21:11 jue1e0 阅读(58) 评论(0) 推荐(0)
摘要: 1.ArrayList: ArrayList的特点: (1).其数据存储类型是基于数组的,采用顺序结构的存储模式,其操作方式也是基于数组的操作原型进行。 (2).ArrayList为用户直接提供了Add,Insert,Remove等一系列编写起来较为繁琐的函数,使其具有面向对象的特点,便于编程。 ( 阅读全文
posted @ 2022-03-09 19:58 jue1e0 阅读(61) 评论(0) 推荐(0)