Files
602_FD/JinYuan.Helper/StrUtil.cs
T
2026-07-17 09:49:00 +08:00

28 lines
561 B
C#

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<string> searchList, string[] desArr)
{
bool result = false;
foreach (string str in searchList)
{
if (desArr.Contains(str))
{
result = true;
break;
}
}
return result;
}
}
}