P
Programmer
I am making a project in which i have one interface ITest,
and a class which is implementing that interface.
I am making object of that class using
object obj=Activator.CreateInstance("TypeName");
ITest objITest =(ITest) obj;
It is giving error explicit typecasting not allowed
can any body help on this
and a class which is implementing that interface.
I am making object of that class using
object obj=Activator.CreateInstance("TypeName");
ITest objITest =(ITest) obj;
It is giving error explicit typecasting not allowed
can any body help on this