我见过几种在 C# 中迭代字典的不同方法。有标准的方法吗?
foreach(KeyValuePair<string, string> entry in myDictionary) { // do something with entry.Value or entry.Key }