【转载】C# 集合类 Array Arraylist List Hashtable Dictionary Stack Queue,2

}

Or

foreach(KeyValuePair<string, double> temp in myDictionary)//返回的是KeyValuePair<string, double>泛型数组

{

temp.Key;

temp.Value;

}