Fork me on GitHub

C#关键字 sealed

定义在自定义类上,该类就不能被继承。

定义在基类的方法上,子类就不能用override 重写该方法。

posted @ 2021-07-11 16:40  HelloLLLLL  阅读(80)  评论(0编辑  收藏  举报