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 lock statement in C#?
What is interface used in c#?
How many types of serialization are there in c#?
What are the types of attributes in c#?
I have to create a windows application using C# .net to Modifiy the XML file. The application have to show the node and node value. plz help me.
What does a constructor do c#?
What is jit? What are the different types of jit?
What is the difference between throw and throw ex?
What is private and shared assembly?
Can hashset contain duplicates c#?
Is arraylist thread safe?
What is tuple in c#?