Dictionary<string, string> dic = new Dictionary<string, string>(); foreach (KeyValuePair<string,string> item in dic) { if (item.Key==areaSN) { tempItem = item.Value; } }
遍历Dictionary
最新推荐文章于 2024-09-06 09:50:42 发布
Dictionary<string, string> dic = new Dictionary<string, string>(); foreach (KeyValuePair<string,string> item in dic) { if (item.Key==areaSN) { tempItem = item.Value; } }