title: Check if element is contained in an array
body: <p>I have the following code, in which I want to verify if the the string called value matches an element contained in stringArray.</p>
  
  <pre><code> string[] stringArray = { "text1", "text2", "text3", "text4" };
  
          string value = "text1";
  
          if ( /* ______________ */) // if value exists in stringArray
              Console.WriteLine("True");
          else
              Console.WriteLine("False");
  </code></pre>
  
  <p>Is there a method I could use to execute this? </p>