C# linq泛型 字典集合 排序
IList<MediaInfo> l = new List<MediaInfo>();
l.OrderByDescending(m => m.Name);//降序
Dictionary<int, string> dList = new Dictionary<int, string>();
List<KeyValuePair<int, string>> list = dList.OrderByDescending(k => k.Value).ToList();//降序
虽功未成,亦未敢藏私,众侠诸神通尽录于此,竟成一笈,名葵花宝典,以飨后世。
邮箱:steven9801@163.com
QQ: 48039387
邮箱:steven9801@163.com
QQ: 48039387