ASP.Net MVC / ASP.Net WebForms / C# Checking multiple contains on one string - 30.08.20 - ErcanOPAK new[] {",", "/"}.Any(input.Contains) or you can use Regex Regex.IsMatch(input, @"[,/]"); Related posts:Convert comma separated string into a List in C#Add blank item at top of dropdownlistHow to access session variable in App_Code class file?What does the word 'new' mean exactly in C#?How to use and get HiddenField Value in Gridview Post Views: 0