c#集合排序
//排序dic=(fromentryindicorderbyentry.Valueascendingselectentry).ToDictionary(pair=>pai...
//排序
dic = (from entry in dic
orderby entry.Value ascending
select entry).ToDictionary(pair => pair.Key, pair => pair.Value);
这句代码怎么理解 展开
dic = (from entry in dic
orderby entry.Value ascending
select entry).ToDictionary(pair => pair.Key, pair => pair.Value);
这句代码怎么理解 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询