Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / umesh
Yes, just leave the class public and make the method sealed.
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
What is class in oops with example in c#?
What is for loop in c#?
What does a constructor do c#?
Why do we Need of static class in c#?
Can a class have static constructor?
Compare and contrast between the System.Array.CopyTo() and Clone()?
Which is better javascript or c#?
What is the purpose of a console table?
What are virtual destructors?
What is executereader in c#?
What is interface c#?
What is dao in c#?
what are windows services?
Is enum a value type c#?
Is struct object oriented?