title: Get distinct list values
body: <p>i have a C# application in which i'd like to get from a <code>List</code> of <strong>Project</strong> objects , another List which contains distinct objects.</p>
  
  <p>i tried this </p>
  
  <pre><code> List&lt;Project&gt; model = notre_admin.Get_List_Project_By_Expert(u.Id_user);
   if (model != null) model = model.Distinct().ToList();
  </code></pre>
  
  <p>The list model still contains 4 identical objects <code>Project</code>.</p>
  
  <p>What is the reason of this? How can i fix it?</p>