Can you allow class to be inherited, but prevent the method
from being over-ridden?
Answer / guest
Yes, just leave the class public and make the method sealed.
Is This Answer Correct ? | 4 Yes | 1 No |
What is the use of partial methods?
What is difference between method and function in c#?
What are delegates?
Will the following code compile?
Is list a collection c#?
Which is executed if an exception has not occurred?
Why do we need interface in c#?
List the two important objects of ado.net and also list the namespaces that are commonly used in ado.net to aid in connection to a database.
Is namespace necessary in c#?
What is an assembly qualified name
How can I check the type of an object at runtime?
Does C# supports multi-dimensional arrays ?