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 out int in c#?
What is delegates and events?
Explain the top reason to use c# language?
Explain about Oops concept
What are the fundamental principles of oo programming?
What is the default value of object in c#?
What is state c#?
What do constructors do in c#?
what is main function of alternate teamplate of datalist?
Can a class be protected in c#?
When should I use static in C#?
What is the difference between constant and readonly in c#?
What is native image generator (ngen.exe)?
What is void in c#?
What is using directive in c#?