471,306 Members | 1,260 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

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

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.

Dec 29 '05 #1
1 1367
Michael Lev <ml**@nds.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Dec 29 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Robert Ferrell | last post: by
9 posts views Thread by jab | last post: by
4 posts views Thread by Ray | last post: by
2 posts views Thread by macca | last post: by
2 posts views Thread by Matthew Hood | last post: by
1 post views Thread by Rader | last post: by
13 posts views Thread by docschnipp | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.