C# List Logic Fail
This question already has an answer here:
You could use OrderBy linq extension and sort element.
isSort= isSort.OrderBy(x=>x).ToList();
If Item is an object, specify property name in OrderBy expression to sort on that property.
//ex..
isSort= isSort.OrderBy(x=>x.Value).ToList();
链接地址: http://www.djcxy.com/p/70958.html
上一篇: 我怎样才能按日期排序列表<问题>
下一篇: C#列表逻辑失败
