How can I get the name of the parent class of some class using Reflection?
The question above is asking about the Parent Type, which can be retrieved using:
yourRefVar.GetType().UnderlyingSystemType.Name
You can use:
string baseclassName = typeof(MyClass).BaseType.Name;