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
Can an int be negative c#?
What are generic types?
What is datareader c#?
What is winforms c#?
Do loops in c#?
What is clr namespace?
What is the do while loop code?
What is type safe code?
Do vs while c#?
What is the main method in c#?
Why are strings in c# immutable?
What are data types with examples?
What are anonymous functions in c#?
Why do we use void in c#?
What is a delegate? Explain.