Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / guest
Yes, just leave the class public and make the method sealed.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is difference between class and abstract class in c#?
What is xaml file in c#?
What is use of private class in c#?
What is the correct way of declaring an xml namespace?
What is difference between a constant and read-only in C#?
How Is The Dll Hell Problem Solved In .net?
Does c# support multiple inheritance (mi)?
What is mean by c#?
What do you mean by casting a data type?
What is sqlconnection in c#?
What is the purpose of a constructor in c#?
What is hash c#?
What is a derived class in c#?
Why we use extension method in c#?
Which is faster iqueryable or ienumerable?