TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Akkiraju Ivaturi
NA
8.7k
4.2m
I would like to list all the sub classes of a given class name in a DLL using reflection in C#.
Aug 12 2012 5:02 AM
Hi my requirement is something like this:
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<T> GetAllSubClasses(string parentClassName)
{
......
return subclasses list;
}
Reply
Answers (
2
)
While loop & ||
List all the classes that implement a specific interface