Is it possible to complete a virtual method in C #?

By this, I mean that you can mark a virtual method in C # as final, so that other types derived from this type can override it again?

+5
source share
2 answers

Yes: when overriding a method, you can also declare it sealed.

+22
source

You can use sealed .

+7
source

All Articles