Create instance of a class not defined in my code - Urgent

  • Thread starter Thread starter Michael Lev
  • Start date Start date
M

Michael Lev

For a class (let's call it Config ) not defined/known in my code,
I want create an instance. Specifically, something like:
Config config = (Config)serializer.Deserialize(stream);

Which parameters does the function need and how to use Reflection
properly?
I'll appreciate a short example.
 
Michael Lev said:
For a class (let's call it Config ) not defined/known in my code,
I want create an instance. Specifically, something like:
Config config = (Config)serializer.Deserialize(stream);

Which parameters does the function need and how to use Reflection
properly?
I'll appreciate a short example.

I will get round to answering your question in the previous thread soon
- there's no need to start a new thread.
 

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