I have a strange problem that I could not solve. When I try to compile the following snapshot, I get this error:
'AbstractClass' does not implement the 'Property' interface element (compiler error CS0535)
The online help tells me how to make an abstract abstraction of AbstractClass. Can someone tell me where I was wrong?
Cheers rudiger
public interface IBase { string Property { get; } } public abstract class AbstractClass : IBase { public override string ToString() { return "I am abstract"; } } public class ConcreteClass : AbstractClass { string Property { get { return "I am Concrete"; } } }
c # properties interface abstract
Rudiger
source share