K
kumar.senthil
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("Namespace.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("Namespace.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