Method #1 Iterate using for-each

foreach(KeyValuePair<string, string> entry in myDic)
{
    // do something with entry.Value or entry.Key
}

Method#2 Iterate only through Dictionary keys

foreach(var key in myDictionary.Keys)
{
  //Do something with key
}


Method#3 Iterate only through values

foreach(var value in myDictionary.Values)
{
  //Do something with value
}