But how could you live and have no story to tell!
访问统计 original graphics

摘要: Dictionarystring, string是一个泛型 他本身有集合的功能有时候可以把它看成数组 他的结构是这样的:Dictionary[key], [value] 他的特点是存入对象是需要与[key]值一一对应的存入该泛型 通过某一个一定的[key]去找到对应的值 举个例子: //实例化对象 Dictionaryint, string dic = new Dictionaryint, string(); //对象打点添加 dic.Add(1, "one"); dic.Add(2, "two"); dic.Add(3, "one"); //提取元素的方法 string a 阅读全文
posted @ 2010-12-10 16:13 nextsoft 阅读(618) 评论(0) 推荐(0) 编辑