How to make a class not inheritable other than sealed?
Answer Posted / rasik bihari
I don't agree with this (Answer # 1) as Making the class as
private will prevent it from even being initialized or
instantiated. I don't have the answer myself :-)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can firstordefault return null?
Explain the role of the datareader class in ado.net connections?
Explain the difference between “as” and “is” operators used in c#?
What is a sealed class?
How to Show Message box in Metro Style App?
What is difference between dictionary and hashtable?
Why static constructor is parameterless in c#?
Explain acid rule of thumb for transactions in c#.
What is the difference between class and namespace?
What is instantiating a class in c#?
What does out mean in c#?
What is the file extension for c#?
How can encapsulation be achieved?
List the difference between interface and abstract class?
What does return do in unity?