The title says it all: How do I get a list of all of a class's base types recursively.
So if I have this:
class B : A
class C : B
I would like a list containing A, B, and C.
I could do it using reflection and recursively get object.BaseType.Name over and over again, but is there anything else built into the framework?