Anyone have a quick method for de-duplicating a generic List in C#?
If you're using .Net 3+, you can use Linq.
List withDupes = LoadSomeData(); List noDupes = withDupes.Distinct().ToList();