Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / mr.f
This problem is very easy, You just declared the method
without virtual keyword. :d
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is the default scope of a class in c#?
What is strong name in c# and how can we use it?
What is cli in c#?
What is the output of TextWriterTraceListener redirected?
Why c# is type safe?
What is the delegate in c#?
What is multithreading? What are the problems that comes with multithreading and how to manage them?
What is Implementation inheritance and interface inheritance?
What does protected internal access modifier mean?
What are the advantages of using partial classes?
Is string a class in c#?
Is string value type c#?
What is anonymous methods in c#?
What is .net c#?
What can we do to handle multiple exceptions?