Do you mean:
class A {
public virtual int X {
get { return 1; }
}
}
class B : A {
public sealed override int X {
get { return 2; }
}
}
class C : B {
public override int X {
get { return -1; }
}
}
If yes, yes. (The above gives a compile-time error in C). The point here is that he Ahad the property, Bimplemented it, and wanted to prevent one of the subclasses from doing this.
source
share