title: If Statement With Array
body: <p>Instead of writing multiple <code>if()</code> statements, is there a way to do something like the below?</p>
  
  <pre><code>string redlight = "Larry";
  string[] names = { "Joe", "Jack", "Bob", "Larry", "Alpha", "Mick", "Lance", "Ben" };
  
  if (redlight == names)
      Console.WriteLine("It's in the array");
  </code></pre>