In C#, how does one obtain a reference to the base class of a given class?
For example, suppose you have a certain class, MyClass, and you want to obtain a
MyClass
obj.base will get you a reference to the parent object from an instance of the derived object obj.
typeof(obj).BaseType will get you a reference to the parent object's type from an instance of the derived object obj.