循环Dictionary键值对。
Dictionary<string, int> dictionTest = new Dictionary<string, int> { { "ss", 1 }, { "s2s", 2 }, { "s3s", 3 } };
foreach (KeyValuePair<string, int> one in dictionTest)
{
Console.WriteLine("{0}------------------------------------{1}", one.Key, one.Value);
}