G
Guest
I'm considering switching to C# and using VS2005, but I'd like to know if I
can have a list of values at runtime and then specify (at runtime) what it's
value type is.
For example, I would have this in my Multi-Dimensional Array named people[]
Then, I would then like to say:
new Person<People[index].ToString>();
Where ToString() would output a built in datatype or a struct/object that I
defined at compiletime.
If this can be done I'd be curious about the syntax in C++/CLR
can have a list of values at runtime and then specify (at runtime) what it's
value type is.
For example, I would have this in my Multi-Dimensional Array named people[]
Then, I would then like to say:
new Person<People[index].ToString>();
Where ToString() would output a built in datatype or a struct/object that I
defined at compiletime.
If this can be done I'd be curious about the syntax in C++/CLR