Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer Posted / mr.f
This problem is very easy, You just declared the method
without virtual keyword. :d
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What are the Configuration files in .net?
How can I get the ascii code for a character in c#?
What is an escape sequence? Name some string escape sequences in c#.
In a single .NET DLL how many classes it contains?
What is the difference between a variable and a literal?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
What is difference between write and writeline in c#?
How to force my .net app to run as administrator on windows 7?
Why do we need serialization?
Explain the serialization in .net
How do I do a case-insensitive string comparison?
Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates
How do namespaces work?
What is the difference between Static, Const and read only?
Can you specify nested classes as partial classes?