dear friends
I want to Create new instance of object with using Type with this code;
is it possible to use this method o I have to find other solution .
please help.
ali.
I want to Create new instance of object with using Type with this code;
Code:
class Myclass(){} class OtherClass() { Myclass mc = CreateNewInstance(typeof(MyClass)); public ???? CreateNewInstance(Type e) { return // how can i create a new instance of Myclass here ? } }
is it possible to use this method o I have to find other solution .
please help.
ali.
Comment