How to get parent class type?

  • Thread starter Thread starter Robin.Liu
  • Start date Start date
R

Robin.Liu

Reflection can help us to obtain all run-time information
of an object, so I think there must be someway to get the
object's parent class type infomation. Could I do that?

Thanks,

Robin.Liu
 
Robin.Liu said:
Reflection can help us to obtain all run-time information
of an object, so I think there must be someway to get the
object's parent class type infomation. Could I do that?

obj.GetType().BaseType.
 
Back
Top