码迷,mamicode.com
首页 >  
搜索关键字:hashtable键值对集合    ( 3个结果
Hashtable 键值对集合
// Hashtable 键值对集合 一个键对应一个值 Hashtable ht=new Hashtable(); ht.Add(1,"张三"); ht.Add(2,'男'); ht.Add(2.1,333m); //在键值对集合中键必须是唯一的 ht[1] = "李四"; // ht.Contai ...
分类:其他好文   时间:2017-11-04 23:31:43    阅读次数:222
.Net学习笔记----2015-06-24(Hashtable 键值对集合)
Hashtable 键值对集合有点像字典的概念,查字典时,根据拼音或者偏旁部首查找汉字而键值对,根据键去找值 键值对对象[键] = 值*** 键值对集合当中,键必须是唯一的,而值是可以重复的 //创建一个键值对集合对象 Hashtable ht = new Hash...
分类:Web程序   时间:2015-06-24 18:13:29    阅读次数:151
HashTable键值对集合
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace HashTable键值对集合 { class Program { static void Main(string[] ar...
分类:其他好文   时间:2014-12-14 13:18:35    阅读次数:266
3条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!