title: Get Distinct property values from List
body: <p>I am trying to get distinct FullNames from a list that contains FullNames and IDs then displaying these in a listBox control. Is there a simple way to do it? Thanks Ben</p>
  
  <pre><code>using (DB2DataReader dr = command.ExecuteReader())
              {
                  while (dr.Read())
                  {
  
                  Contact contact = new Contact();
  
                  contact.ContactID = Convert.ToInt32(dr["CONTACT_ID"]);
                  contact.FullName= dr["FULL_NAME"].ToString();
  
  
                  myContacts.Add(contact);
  
                  //contactsListBox.ItemsSource = myContacts.Distinct FullName??
  
  
              }
          }
  </code></pre>