User283571144 posted
Hi Ravindranath M,
According to your description, I suggest you could use LINQ to achieve your requirements.
You could use any to loop the string list.
Then if the 'A,B,C' contains the value in the list, it will return true.
More details, you could refer to below codes:
static void Main(string[] args)
{
string mystring = "A,B,C";
List<string> lstSpecialChar = new List<string>();
lstSpecialChar.Add(",");
lstSpecialChar.Add("-");
lstSpecialChar.Add("$");
bool b = lstSpecialChar.Any(s => mystring.Contains(s));
Console.WriteLine(b);
Console.Read();
}
Result:

Best Regards,
Brando