摘要:
转载:http://blog.csdn.net/a125138/article/details/77420221、要使用Dictionary集合,需要导入C#泛型命名空间 System.Collections.Generic(程序集:mscorlib)2、描述 1)、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 2)、任何键都必须是唯一的 3)、键不能为空引用null(VB中的Nothing),若值为引用类型,则可以为空值 4)、Key和Value可以是任何类型(string,int,custom class 等)3、创建及初始化... 阅读全文
posted @ 2013-07-15 13:56
doubledu
阅读(406)
评论(0)
推荐(0)

浙公网安备 33010602011771号