check if string contains list of char c# code example Example: c# string contains bool b = s1.Contains("myString");