1 points · by xivSolutions · 13y ago · 0 comments
No comments yet.
A contravariance conundrum
Suppose we have my usual hierarchy of types, Animal, Giraffe, etc, with the obvious type relationships. An IEqualityComparer<T> is contravariant in its type parameter; if we have a device whi…
Fabulous adventures in coding