Can you allow class to be inherited, but prevent the method
from being over-ridden?

Answer Posted / avijit

declare the method as protected

Is This Answer Correct ?    5 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a while loop work?

469


Which debugging tools you can use in the .NET ssSDK?

539


Is struct object oriented?

470


What is difference between events and delegates?

478


What are controls in c#?

463






What are the fundamental oop concepts?

523


What is console programming language?

475


What are strongly typed objects?

475


What's different between c# and c/c++?

526


What is difference between constants and read-only?

439


What is difference between abstract class and interface in c#?

467


Can constructor have return type c#?

630


How many parameters can a method have c#?

478


What is the lock statement in c#?

519


how to sort an array in c#

555