I have MyObject with field: id, a, b, c, e, f
and I have List with 500 000 items, now how can I remove all duplicate items with of the same value of the parameter a, c, f? <
One efficient method would be first to to a quicksort (or similar n Log n sort), based on a hash of (a, c, f) and then you can iterate through the resultant list, picking one every time the value of (a, c, f) changes.
That would give a n log n speed solution, which is probably the best you can do.