title: C# Check Object Array For Duplicates
body: <p>I have an array of Customer[] objects, and I want to use it to create a Dictionary&lt;Customer, string&gt;.  What is the easiest way to examine the array for duplicates before I load the Dictionary?  I want to avoid "ArgumentException: An item with the same key has already been added".  Thanks.</p>