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's different between c# and c/c++?
What is final keyword in c#?
What are the types of methods in c#?
Are arraylist faster or arrays?
What is the difference between CreateObject() and GetObject()?
What is the difference between asp net and c#?
Can we have 2 main methods in c#?
Why do we need interfaces in c#?
What is the use of command builder?
Why do we need singleton class in c#?
What is the use of 'using' statement in c#?
Define c# i/o classes?
What is different between Static Constructor and Private Constructor?
How many types of constructors are available in c#?
What the different phase/steps of acquiring a proxy object in webservice?