I'm trying to implment a property interface with a class inherit the declare one. Maybe the example is more easy to understand.
MyClassA is OK, but MyClassB has a compile error 'Test.MyClassB' does not implement interface member 'Test.IMyInterface.PropA'. Any Idea how I can do this?
/****** EDITED CODE ******/
public class BaseClass
{
    public int PropA { get; set; }
}
public class InheritClass : BaseClass
{
    public int PropB { get; set; }
}
public interface IMyInterface
{
    BaseClass PropClass { get; set; }
}
public class MyClassA : IMyInterface
{
    public BaseClass PropClass { get; set; }
}
public class MyClassB : IMyInterface
{
    public InheritClass PropClass { get; set; }
}




MyClassBdoesn't implementPropA. What are you trying to do? You're not inheritingMyClassBfrom anything.InheritClassinherits fromBaseClass, the method signature still has to useBaseClass. The actual value may beInheritClass, but not the signature. Maybe you'd want to use a generic interface instead? Or a helper property?