H
hello_world
Let's say I have the following class hierarchy:
A: B
B: C
I would like a means to test whether class C is a 'descendant' of class
A (or A is the 'ancestor' of C). If c is the instance of C,
c.GetType().BaseType only gives me type that is directly inherited, and
i need to get the type(s) beyond that. Thanks!
A: B
B: C
I would like a means to test whether class C is a 'descendant' of class
A (or A is the 'ancestor' of C). If c is the instance of C,
c.GetType().BaseType only gives me type that is directly inherited, and
i need to get the type(s) beyond that. Thanks!
It should