假设有两个List<T>对象 ,List1和List2,如下方法判断两个List是否相等

List1.All(List2.Contains) && List1.Count == List2.Count  
View Code

相关文章:

  • 2021-11-18
  • 2022-01-02
  • 2021-08-21
  • 2022-01-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
  • 2021-06-30
  • 2021-12-29
  • 2022-12-23
相关资源
相似解决方案