Dynamic class instantiation

  • Thread starter Thread starter Jim Witt
  • Start date Start date
J

Jim Witt

How can a class inside a class (who is already instantiated) be
instantiated from a string whos value is the name of the class?

Thanks!
 
Jim said:
How can a class inside a class (who is already instantiated) be
instantiated from a string whos value is the name of the class?

Have a look at Activator.CreateInstance()

--
There are 10 kinds of people. Those who understand binary and those who
don't.

http://code.acadx.com
(Pull the pin to reply)
 
Back
Top