title: Modify List.Contains behavior
body: <p>I have a <code>List&lt;MyObj&gt;</code> with the <code>class MyObj : IComparable</code>. I wrote the method <code>CompareTo</code> in the <code>MyObj</code> class per the <code>IComparable</code> interface, but when I use the <code>List&lt;MyObj&gt;.Contains(myObjInstance)</code> it returns <code>false</code> when it should be <code>true</code>. </p>
  
  <p>I'm not sure I'm understanding how I need to proceed to make sure the <code>List</code> uses my custom comparison method when calling then <code>Contains</code> function.</p>
  
  <p>Here is my compareTo implementation:</p>
  
  <pre><code>    #region IComparable Members
  
      public int CompareTo(object obj)
      {
          MyObj myObj = (MyObj)obj;
          return String.Compare(this.Symbol, myObj.Symbol, true);
      }
  
      #endregion
  </code></pre>
  
  <p>Note the Symbol property is a string.</p>
  
  <p>To clarify I've put a stopping point in that compareTo method and it doesn't even go in there. </p>
  
  <p>Anyone has ever tried that?</p>
  
  <p>Thanks.</p>