title: Checking if string contains one of the array values using C# .net
body: <p>i have <code>string[] srt={"t","n","m"}</code></p>
  
  <p>i need to know if the user input contain one of the values in str and print that value</p>
  
  <p>i try this code but its not work with me</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>string str = Textbox.Text;
      string s = "";
      string[] a = {"m","t","n"};
          
          if (str.Contains(a.ToString()))
          {
              s = s + a;
          }
  
          else
          {
              s = s + "there is no match in the string";
          }
  
          Label1.Text = s;</code></pre>
  </div>
  </div>
  </p>