P
Peter
Hi everybody,
I'm a new in C# and have a problem
I need to create dynamically the name of object
let's say "obj1", "obj2" etc. They're hashtables (Action Script
objects)
I'm doing like
String tempStr = "obj" + i.ToString();
then
ASObject tempStr = new ASObject();
this gives an problem, beacuse temStr is already defined as a string
and recasting in this context is not possible.
Java and VB can easy resolve it, not speaking about scripting
languages were exists special functions like Eval(), but C# has some
different way.
If somebody knows something about it?
Thanks a lot!
I'm a new in C# and have a problem
I need to create dynamically the name of object
let's say "obj1", "obj2" etc. They're hashtables (Action Script
objects)
I'm doing like
String tempStr = "obj" + i.ToString();
then
ASObject tempStr = new ASObject();
this gives an problem, beacuse temStr is already defined as a string
and recasting in this context is not possible.
Java and VB can easy resolve it, not speaking about scripting
languages were exists special functions like Eval(), but C# has some
different way.
If somebody knows something about it?
Thanks a lot!