遍历 SortedList 中的值(可用于datatable转json)

SortedList<string, string> STK = new SortedList<string, string>();
STK.Add("1", "2");
STK.Add("3", "4");
foreach (KeyValuePair<string,string> item in STK)
{
Console.Write(string.Format("{0}:{1}",item.Key,item.Value));
}orm

相关文章
相关标签/搜索