排序我有一個字典在字典C#
Dictionary<string, string> rList = new Dictionary<string, string>();
rList .Add("https://stackoverflow.com/a/b/c", "35");
rList .Add("https://stackoverflow.com/a/c/f/v", "25");
rList .Add("https://stackoverflow.com/a/r/d/c/r/v", "29");
rList .Add("/a", "21");
rList .Add("https://stackoverflow.com/a/f, "84");
我只想排序依據的「/」出現在密鑰號的數量本字典。我的預計了看跌期權,
("https://stackoverflow.com/a/r/d/c/r/v", "29")
("https://stackoverflow.com/a/c/f/v", "25")
("https://stackoverflow.com/a/b/c", "35")
("https://stackoverflow.com/a/f, "84")
("/a", "21")
這篇文章解釋了回答你的問題 HTTP:/ /stackoverflow.com/questions/15667684/sorting-in-dictionary-c-sharp – rajkumarts 2013-03-27 19:28:20
@rajkumarts:你只是與這個問題有關。 – 2013-03-27 19:44:48