I was under the impression that in an interface declaration I could inherit
another interface declaration and the result would be that the inheriting
interface could include the methods and properties defined in the inherited
interface.
However when playing with this and defining a class to implement the
interface the class gets implemented with both sets of interface
declarations.
eg.
interface A
{
string myPropA { get ; }
}
interface B
{
string myPropB { get ; }
}
what I though is that the interface B now includes the myPropA property and
when you go to implement it in a class you could namespace it with the
interface name...
class Z : B
{
string B.myPropA {... } *** fails
string B.myPropB {... }
}
Is it possible to do what I want to do?
Thanks
Donal