我是个不喜欢废话的人.上代码最清楚明了
Dictionary<string, uint> dic = m_people.getBag(); foreach (KeyValuePair<string, uint> a in dic) { }总的来说呢,keyvaluepair就是dic中每一项的类型.
我是个不喜欢废话的人.上代码最清楚明了
Dictionary<string, uint> dic = m_people.getBag(); foreach (KeyValuePair<string, uint> a in dic) { }总的来说呢,keyvaluepair就是dic中每一项的类型.