string str = "1,11,121,131"; var arr = str.Split(','); List<string> list = new List<string>(); list.AddRange(arr); if(list.Contains("11")) { Console.WriteLine("11"); }