How to create instance of class from string?
Hi,
I have a string which contains the namespace and name of a class...
eg. "MyProject.Classes.MyClass";
I need to create an instance of this class. Normally would do like this:
Object obj = new MyProject.Classes.MyClass();
But how do I create it from the string instead? Is it even possible??
Thanks!
M
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

yasser_8227158 pointsPosted Mar 9, 2005, 1:29 PM EST
robwhitby783 pointsPosted Mar 10, 2005, 12:23 AM EST