Create instance using reflection ?
Monkey Forums/Monkey Programming/Create instance using reflection ?
| ||
| It is possible to create a class instance (which is extend from a base class as condition) using reflection in monkey ? |
| ||
| You can use ClassInfo.NewInstance() but this returns an Object. You'll have to cast it yourself. There is no way to dynamically cast something if all you have is the ClassInfo. |
| ||
| Alright. At least i have this. :) Thanks! |