Is there any convenient function to get a list of base types of a class. For example, I want to get base types (both interfaces and classes) of ArrayList class. The result should include "Object, IList, ICollection, IEnumerable, and ICloneable"
Please advise.