Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / sujai cn
By using NEW key word with implementation of method (which
is declared as virtual in base class) in the derived class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the use of dll file in c#?
Why generics are used in c#?
What does type safe mean in c#?
Can a class have static constructor?
How do switch statements work?
What do you understand by 'access specifiers' in C#?
What is boolean conditions in c#?
What is cache memory in c#?
Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?
What is parallel foreach in c#?
What do you mean by generic class in c#?
Can a sealed class be used as a base class?
Why do we use generics in c#?
Which class comes after the SortedList class?
Wht executescaler method is used?