M
memememe
I am using the Activator class and creating an instance by passing the type
I want to create and the paramters for the constructors.
My question is:
Lets assume we got Interface A, and Interface B, and a class C that
implements both.
If I have two contructors, one takes an instance of a class that implements
A and the other an instance of a class that implements B.
If I try to create an instance passing class C as my parameter, which
constructor will be called?
I could probably tried hte test in the time I typed this, ohhh well.
I want to create and the paramters for the constructors.
My question is:
Lets assume we got Interface A, and Interface B, and a class C that
implements both.
If I have two contructors, one takes an instance of a class that implements
A and the other an instance of a class that implements B.
If I try to create an instance passing class C as my parameter, which
constructor will be called?
I could probably tried hte test in the time I typed this, ohhh well.