title: IndexOf fails when there is a backslash in the string -- Why?
body: <p>Why does IndexOf fail when there is a backslash "\" in the string?</p>
  
  <pre><code>string tmpString = "acg2xs5d.dui";
  
  string tmpString2 = @"c:\acg2xs5d.dui"; 
  
  MessageBox.Show(tmpString.IndexOf(@tmpString2).ToString());
  </code></pre>
  
  <p><br>
  This returns -1; no matter what.</p>
  
  <p>If I change tmpString2 to "acg2xs5d.dui" and remove the "c:\" it returns 0 as expected.</p>
  
  <p>It seems that the "\" is causing it to give an incorrect result of "-1".</p>
  
  <p>Why is this and how do I work around/trap for this?</p>