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

▼ Show 1 Answer

0 votes

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

Learn More with Madanswer

Related questions

+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri