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 can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
What is difference between arraylist and list in c#?
Please explain the basic string operations used in c#?
What does the initial catalog parameter define in the connection string?
Is c# a strongly-typed language?
Why do we need dependency injection in c#?
What is an arraylist in c#?
What are the types of access modifiers?
What is dao in c#?
How to add a readonly property in c#.net
Can you put two constructor with the same structure in a class?
What is a boolean c#?
What is managed or unmanaged code?
Can we inherit abstract class in c#?
Illustrate serialization?