I am looking for a really fast way to check for duplicates in a list of objects.
I was thinking of simply looping through the list and doing a manual comparison th
If any duplicate occurs throws exception. Dictionary checks keys by itself. this is the easiest way.
try { dupList.ToDictionary(a=>new {a.checkThis,a.checkThat}); } catch{ //message: list items is not uniqe }