i would like to get the type of the derived class from a static method of its base class.
How can this be accomplished?
Thanks!
class BaseCla
Why not just use the methods that are there already?
If you have
class BaseClass {} partial class DerivedClass : BaseClass {}
You can look at
DerivedClass.GetType().BaseType;