Hello, Roy!
R> If I have two interfaces derived from the same one. How do I implement
R> the methods in my class supporting both interfaces? I would like to have
R> different implementation for methods in base interface from different
R> interfaces
Here is code sample
interface IBase
{
void method();
}
interface IDerived1 : IBase
{
void method();
}
interface IDerived2 : IBase
{
void method();
}
class Implementor : IDerived1, IDerived2
{
void IDerived1.method()
{ }
void IDerived2.method()
{ }
}
--
Regards, Vadym Stetsyak
www:
http://vadmyst.blogspot.com