降序:

lstroot.Sort((x,y)=>y.static_count.CompareTo(x.static_count));

升序:

lstroot.Sort((x,y)=>x.static_count.CompareTo(y.static_count));

相关文章:

  • 2021-08-11
  • 2021-08-15
  • 2022-03-01
  • 2021-08-28
猜你喜欢
  • 2022-12-23
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
相关资源
相似解决方案