0 votes
in Dot Net by
How can we set class to be inherited, but prevent the method from being over-ridden?

1 Answer

0 votes
by

Declare the class as public and make the method sealed to prevent it from being overridden.

...