title: What is the C# equivalent to strstr() in C?
body: <p>First of all, there is a question title that almost exactly matches my question (<a href="https://stackoverflow.com/questions/3536958/strstr-equivalent-in-c-sharp">strstr() equivalent in C#</a>), but he's referring to a method to do a byte[] comparison version.</p>
  
  <p>I'm looking for a string comparison that outputs the index of the first occurance of str2 in str1, and just cannot find it!</p>
  
  <pre><code>string s1 = ("BetYouCantFooFind");
  string s2 = ("Foo");
  
  int idx = strstrC#(s1,s2);
  </code></pre>
  
  <p>Surely there is an equivalent?</p>