How to declare an instance which its type is user-defined in C#
- by Shaza
Hey all,
Simply my question is about defining the type of an instance in run time, and this type is user-defined.
Something which looks like this:
Type instance1;
In run time, the user is going to choose for example "int", then there 'll be,
int instance1;
Any suggestions?? is downCasting efficient here?