// list = normalList.Except(repairList).ToList(); //差集
                // list = normalList.Union(repairList).ToList();   //并集
                list = normalList.Intersect(repairList).ToList(); //交集
                bool result = list.All(repairList.Contains) && list.Count() == repairList.Count();
                if (result)
                {
                    msg = "全包含";
                    return true;
                }
                else
                {
                    msg = "不全包含";
                    return false;
                }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-28
相关资源
相似解决方案