[Solved] Cant see all members in Object (but with `OfType` I can access)


If you get a NullReferenceException when casting to Animal then it means that Zebra is not a derived class. Although it seems to have a similar structure as the other classes

4

solved Cant see all members in Object (but with `OfType` I can access)