Instead of writing multiple if() statements, is there a way to do something like the below?
string redlight = "Larry";
string[] names = { "Joe", "Jack", "Bob", "Larry", "Alpha", "Mick", "Lance", "Ben" };
if (redlight == names)
Console.WriteLine("It's in the array");
redlighthere?if (names.Contains(redlight))