title: Check if List Contains() entity item
body: <p>I have a entity list. The entity has two integer variables. I'm trying to check if the list contains that identity but it always returns false.</p>
  
  <p>Basically I'm trying to check if list contains X in any second indices.</p>
  
  <pre><code>List&lt;Entity.Limit&gt; list = new List&lt;Entity.Limit&gt;();
  
  list.Add(new Entity.Limit(1, 2));
  list.Add(new Entity.Limit(1, 3));
  list.Add(new Entity.Limit(1, 4));
  
  Response.Write(list.Contains(new Entity.Limit(1, 2))); //Returns False
  </code></pre>