title: How does Distinct() work on a List<> of anonymous type?
body: <p>How does Distinct() work on a List&lt;> of anonymous type? will it just do a property compare? or will it always return the same list?</p>
  
  <p>example:</p>
  
  <pre><code> List&lt;SomeObject&gt; list;
   ....
   ....
  
   var result = list
             .Where(i =&gt; i.Condition)
             .Select(i =&gt; new 
                 {
                    Name = i.Name,
                    Date = i.Date
                 });
             .Distinct()
             .ToList()  
  </code></pre>
  
  <p>Please note I applied the distinct on the anonymous-type list.</p>