var stringExcept = result.Except(compareList).ToList(); //两个List获取差集
string notExistValue = String.Join(",", stringExcept.ToArray());//数组转换成string用逗号分隔

转自: https://www.cnblogs.com/huangtailang/p/4106314.html

 

相关文章:

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