var stringExcept = result.Except(compareList).ToList(); //两个List获取差集 string notExistValue = String.Join(",", stringExcept.ToArray());//数组转换成string用逗号分隔
转自: https://www.cnblogs.com/huangtailang/p/4106314.html
原文地址:https://www.cnblogs.com/Early-Bird/p/10856165.html
时间: 2024-10-14 05:11:58