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.

Related questions

+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
+1 vote
asked Apr 9, 2020 in C Sharp by GeorgeBell
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
...