title: How can I check if a string exists in another string
body: <p>Hope somebody can help me. I am just learning C# and I have a simple question. </p>
  
  <p>I have a variable and I would like to check if that exists in another string. Something like </p>
  
  <pre><code>if ( test contains "abc" ) {
  
  }
  </code></pre>
  
  <p>Is there an easy way to do this in C#</p>