title: Remove duplicate element from a class list
body: <p>How can I eliminate duplication of element "address" from Impinjreader class list as shown below? I'm trying to avoid to connect on multiple copy of an IP address. </p>
  
  <pre><code>static List &lt;ImpinjReader&gt; readers = new List &lt;ImpinjReader&gt;();
  List&lt;ImpinjReader&gt; DistinctReaders = readers.Distinct().ToList();
  
  public bool Con()
  {
      try
      {
        readers.Add(new ImpinjReader(address, ""));
  
        foreach (ImpinjReader reader in DistinctReaders)
        {
            // From here I am receiving a duplicate ip addresses 
            // assigned with ascending count values inside 
            // DistinctReaders.
        }
      }
  }
  </code></pre>