string[] s1 = new string[3] { "John", "Paul", "Mary" }; if (s1.Contains("John")) Response.Write("fadfadfa");