Just my question is determining the type of the instance at runtime, and that type is user-defined. Something like this:
Type instance1;
At run time, the user is going to select, for example, "int", then there will be
int instance1;
Any suggestions? is downCasting effective here?
Lisa source
share