Hi,
I would like to know whether we can create a generic object at
runtime using the type obtained using reflection.
Type myType = Type.GetType("N amespace.Class" );
MyClass<myType> test1 = new MyClass<myType> ();
Basically, i need to create the generic object at run time and the
type is decided at runtime.
Thanks,
Senthil
I would like to know whether we can create a generic object at
runtime using the type obtained using reflection.
Type myType = Type.GetType("N amespace.Class" );
MyClass<myType> test1 = new MyClass<myType> ();
Basically, i need to create the generic object at run time and the
type is decided at runtime.
Thanks,
Senthil
Comment