List<ComponentType> A= new List<ComponentType>();
            List<ComponentType> B= new List<ComponentType>();
            ……
             if (A.All(t => B.Any(b => b == t)))
                result = true;

  集合A是集合B的子集(被包括或相同)

相关文章:

  • 2021-07-17
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
相关资源
相似解决方案