List排序 使用delegate方法

如:

 

list2.Sort(delegate(Community C1, Community C2)
{
       return C2.Ordercount.CompareTo(C1.Ordercount);
});

相关文章:

  • 2022-12-23
  • 2022-02-22
  • 2022-02-03
  • 2021-07-16
  • 2021-06-14
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2022-02-06
  • 2022-12-23
  • 2021-05-25
相关资源
相似解决方案