If I have a (reference - does it matter?) type MyType which does not override the Equals method, what heuristics will be used when determining if an ICollection<MyType> contains a given instance of the type?
What's the best way to use my own heuristics (e.g. check for the equality of the Id property value)?