摘要:
网上看到的,记录下来,供参考,备忘Dictionary<string,int> list =newDictionary<string,int>(); list.Add("d", 1);//3.0以上版本foreach(variteminlist) {Console.WriteLine(item.Key + item.Value); }//KeyValuePair<T,K>foreach(KeyValuePair<string,int> kvinlist) {Console.WriteLine(kv.Key + kv.Value 阅读全文
posted @ 2012-05-17 08:09
wangchao
阅读(67777)
评论(0)
推荐(0)
浙公网安备 33010602011771号