Jun 25, 2019 in Dot Net
Q: How can we set class to be inherited, but prevent the method from being over-ridden?

1 Answer

0 votes
Jun 25, 2019

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

Related questions

+1 vote
Jun 25, 2019 in Dot Net
+1 vote
Jun 25, 2019 in Dot Net
...