【文件属性】:
文件名称:Dictionary
概述-C#入门经典教程
文件大小:4.81MB
文件格式:PPT
更新时间:2021-04-23 19:50:13
c#
Dictionary概述
Dictionary具有List相同的特性
约束集合中元素类型
编译时检查类型约束
无需装箱拆箱操作
与哈希表类似存储Key和Value的集合
Dictionary students =
new Dictionary();
利用Dictionary存储学员集合
Key存储String类型
value存储Student类型