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
How to implement a singleton design pattern in c#?
What are bitwise logical operators?
What does exclamation mark mean in access query?
Wcf and what is difference between wcf and web services?
What is the .net datatype that allows the retrieval of data by a unique key?
What is the root element of an xml file?
What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?
Explain the difference between Response.Write () and Response.Output.Write ().
What is difference between iqueryable and ienumerable in c#?
How do you mark a method obsolete?
What Is A Multicast Delegate?
What is the compiler of c#?
Give some examples of commonly used i/o classes?
Explain use of abstract and sealed classes in c#?
How to install or uninstall a windows service?