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
shantanu
NA
6
0
Creating a dynamic C# class
Aug 5 2007 10:27 AM
Hi... I have following requirement:
Suppose there are 2 classe:
Class A
{
public void method1()
{
}
public void method2()
{
}
}
Class B
{
public void method3()
{
}
public void method4()
{
}
}
Now I want to create another class C having all the methods of Class A & Class B. Assume that there are no member fields in A & B & no two methods have same name. Can class C be generated Inmemory ?
Actually I will have info regarding Classes A, B etc in an XML & need to combine them into a single class so that all the methods can be accessed by a common prefix, i.e., like C.Method1() ...
Any help will be appreciated !
Reply
Answers (
1
)
Dll help
C# Console Application