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



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

Answer / guest

Yes, just leave the class public and make the method sealed.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What is lock statement in C#?

0 Answers   B-Ways TecnoSoft,


What is interface used in c#?

0 Answers  


How many types of serialization are there in c#?

0 Answers  


What are the types of attributes in c#?

0 Answers  


I have to create a windows application using C# .net to Modifiy the XML file. The application have to show the node and node value. plz help me.

3 Answers   Merrill Lynch,


What does a constructor do c#?

0 Answers  


What is jit? What are the different types of jit?

0 Answers  


What is the difference between throw and throw ex?

0 Answers  


What is private and shared assembly?

0 Answers  


Can hashset contain duplicates c#?

0 Answers  


Is arraylist thread safe?

0 Answers  


What is tuple in c#?

0 Answers  


Categories