title: C# method to remove duplicates from a List<T>
body: <p>I need a C# method to remove duplicates from a <code>List&lt;T&gt;</code> using a custom comparison operation. In .NET 4. Is there one or do I have to write it myself?</p>