public interface ITest > { > BaseClass Parent { get; } > } > > public class BaseClass {} > > public class DerivedClass : BaseClass{} > > public class Test : ITest > { > public DerivedClass Parent > { > get {return new DerivedClass(); } > } > }Am I cracking up?
Error 1 'Test' does not implement interface member 'ITest.Parent'. 'Test.Parent' cannot implement 'ITest.Parent' because it does not have the matching return type of 'BaseClass'.