How to get a Compare items in a Generic List
<p>I have a custom class that implements that IComparable.  This class is stored in a Generic List.  I now need to compare to lists to see which objects are in list A but not in list B.  </p>

<p>I thought the most simple way of doing this would be to iterate through list B and do A.contains().</p>

<p>I do not know how to get it to use my CompareTo() (or another method that I can override so that I can say if it contains a certain object or not).  I could be wrong but as I understand it the contains checks if the objects are actually the same (i.e. points to the same place in memory).</p>

<p>Could anyone help me please?</p>
