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 difference between returning iqueryable vs ienumerable?
Is concurrent queue thread safe?
Is c# lazy thread safe?
What are escape sequences explain with example?
What are generations and how are they used by the garbage collector?
What is asp net in c#?
How do you declare an interface in c#?
Explain About delegates
What is fcl in c#?
What is reflection in c#?
In a site to turn off cookies for one page which method is followed?
Why ref is used in c#?
How are methods overloaded?
What is strong data type in c#?
How to prevent the error while updating ui control from another thread?