You are close
public class MyComparer<A, B, C> : IEqualityComparer<MyGenericClass<A, B, C>>
Side note, please don't name things A, B, and C. That doesn't help anyone. Standard naming convention is T<SomethingDescriptive>
. In the case of EF, it might be TEntity
, in MVC or MVVM, it might be TModel
or TViewModel
.