using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JinYuan.Helper { public class StrUtil { public static bool IsExist(List searchList, string[] desArr) { bool result = false; foreach (string str in searchList) { if (desArr.Contains(str)) { result = true; break; } } return result; } } }