Dictionary<string, string> dictionary = new Dictionary<string,string>(); foreach (string dic in dictionary.Keys)
{
//Key: dic
//Value: dictionary[dic]
}
foreach (KeyValuePair<string, string> dic in dictionary
{
//Key: dic.Key
//Value: dic.Value
}
http://blog.csdn.net/mhtshhp/article/details/5208665