Activator Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how would I do something like

string className = "theNameOfTheObject"
object obj

obj = Activator.CreateInstance(className)

obj.doSomething()


the docmentation goes on about object handles and I am not sure what they are
(I thought an object variable was a reference was a handle?)

I dont seem to be able to find the right constructor for this

Thanks in advance
Charlie
 
Back
Top