Assembly.CreateInstance with arguments?

  • Thread starter Thread starter Zanna
  • Start date Start date
Z

Zanna

Hi,

I need to create an instance of a class in a non-referenced assembly, so
I thinked to use the Assembly.CreateInstance().
The problem is that my class has a constructor with an argument.
I cannot istantiate my class, since CreateInstance try to instantiate
using the standard constructor that does not exists :(

Is there a way to get an istance of my class?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top