string[] month = { "jan","feb","mar"} if (s.Contains(month) && (s.Any(char.IsDigit))) { //code here }
if (month.Contains(s) && (s.Any(char.IsDigit)))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)