Remove them before they are bound by using SELECT DISTINCT in linq
such as
public void Linq46()
{
int[] factorsOf300 = { 2, 2, 3, 5, 5 };
var uniqueFactors = factorsOf300.Distinct();
Console.WriteLine("Prime factors of 300:");
foreach (var f in uniqueFactors)
{
Console.WriteLine(f);
}
}
http://msdn.microsoft.com/en-us/vcsharp/aa336761.aspx#distinct1[
^]