I have a strange problem that I could not solve. When I try to compile the following snipped I get this error:
'AbstractClass' does not implement interface member 'Property' (Compiler Error CS0535)
The online help tells me to make my AbstractClass abstract, which it is. Can anybody tell me where I went wrong?
Cheers Rüdiger
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";
}
}
}