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
What is Delegate and what is it used for ?
What are the fundamental differences between value types and reference types?
What is the syntax for calling an overloaded constructor within a constructor?
What is the difference between interface and inheritance in c#?
How to block a class from being inherited further?
Where is the main method in c#?
Is type nullable c#?
What is a di class?
What is a copy constructor in c#?
If I return out of a try/finally in c#, does the code in the finally-clause run?
What are class fields?
What is the difference between array and list in c#?
What are indexers in c# .net?
Can a private virtual method can be overridden?
What is the difference between null and string empty in c#?