fooArray.GroupBy(x => x.Id).Select(x => x.First());
List<T> withDupes = LoadSomeData(); List<T> noDupes = withDupes.Distinct().ToList();