1. I would load an assembly from a specific location (LoadAssemlyFrom(DLL)).
2. Now I will provide class name to a method as a parameter and that method should return me all the sub classes list.
Something like below:
IList
{
......
return subclasses list;
}

VulpesPosted Aug 12, 2012, 10:22 AM
Now create a console app from the following code and place the dll in the executable's folder:
The output should be:
Notice that ClassD is not returned because, whilst it ultimately derives from ClassA (via ClassC), it's not a direct sub-class of it.
Akkiraju IvaturiPosted Aug 12, 2012, 4:14 PM