我知道我可以使用密封以防止其他类继承某个类,但是是否可以允许继承但是可以防止覆盖某些虚拟方法?
c# inheritance overriding
c# ×1
inheritance ×1
overriding ×1