title: How to check if a particular character exists within a character array
body: <p>I am using an array within a C# program as follows:</p>
  
  <pre><code>char[] x = {'0','1','2'};
  string s = "010120301";
  
  foreach (char c in s)
  {
      // check if c can be found within s
  }
  </code></pre>
  
  <p>How do I check each char c to see if it is found within the character array x?</p>