📅  最后修改于: 2022-03-11 14:48:49.393000             🧑  作者: Mango
foreach(var key in someDictionary.Keys) // loop through keys
foreach(var value in someDictionary.Values) // loop through values
foreach(KeyValuePair p in someDictionary) // loop through both