string[] names = "John", "Susan", "Sophie"; if (names.Contains("John") //Using Contains you can know if a specific value is on an array { Console.WriteLine("John is a name"); }