Dictionary<string, string> test = new Dictionary<string, string>();
test.Add("userName", "jiou");
test.Add("u2", "xx");
foreach (var dic in test)
{
Console.Write("key: {0}\nvalue: {1}\n", dic.Key, dic.Value);
}
循环dictionary
最新推荐文章于 2025-05-05 19:52:53 发布
1387

被折叠的 条评论
为什么被折叠?



