title: IList comparison not behaving as expected
body: <p>I have 2 lists that I am trying to compare, sadly they are not of the save class. One is from the magento api and the other is a custom class containing some values from the other. (only the ones that I need)</p>
  
  <pre><code>if (existingPhotoOrders.Where(x =&gt; x.OrderNumber.CompareTo(order.increment_id) == 0).ToList().Count &gt; 0)
                  continue;
  </code></pre>
  
  <p>There is a problem with the API where I have to get all the orders and compare the ones that I want and then request individually extra information but the above query is not working it is just continueing with everything.</p>
  
  <p>I have looked at other comparisons but they all require the classes to be the same. If anyone could shed some light I would be grateful.</p>