how to join Dictionary<X,Y> and remove duplicate record
<p>I have a <code>Dictionary&lt;int, List&lt;someclass&gt;&gt; = new Dictionary&lt;int, List&lt;someClass&gt;&gt;();</code></p>

<p>The Class can be something like this</p>

<pre><code>public class someclass
{ 
    public string CompanyName { get; set; }
    public string address { get; set; }
    public string Alternativeaddress { get; set; }
    public string CompanyNumber { get; set; }
}
</code></pre>

<p>For example </p>

<p>The List inside the dictionary contain 2 row as bellow: </p>

<pre><code>Output
CompanyName           address            Alternativeaddress      CompanyNumber
AAAA                  11 Mainden Street  NULL                    3243-A
AAAA                  NULL               12 Maiden Street        3243-A
</code></pre>

<p>Is That anyway to make Join record 1 and 2 as 1 record in the dictionary by using LINQ or any method ? and it will remove the duplicated or JOINED record </p>

<pre><code>Output
CompanyName           address            Alternativeaddress      CompanyNumber
AAAA                  11 Mainden Street  12 Maiden Street        3243-A
</code></pre>

<p>Company with both address will be remain and The key is auto increment number which make every row unique . </p>

<p>The Comparer That i would like to use will be CompanyNumber and CompanyName , because I found that this 2 value will not be null. and also it is the only way to identify they are the same.</p>
