Is there a collection in c# that supports the inheritance like concept that objects can have of appearing to include all the elements from another as well as themselves?
Let dogs and cats inherit from an interface, and create HashSet's of the interface instead of the classes. Or use a base class.
for example:
HashSet