How to make a class non-inheritable other than sealed?
Answer Posted / adhithya
use private construtor inside the class.so that it cant be
inherited
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
What is the lock statement in c#?
What’s a strong name?
My switch statement works differently! Why?
What is ildasm and obfuscator in net?
What is get set in c#?
What is system predicate?
What is the difference between dll and lib?
How does c# generics and c++ templates compare?
Why do we use constructors in c#?
What does f mean in c#?
Are there functions in c#?
How to block a class from being inherited further?
What are get and set in c#?
Explain the difference between passing parameters by value and passing parameters by reference with an example?
In .NET which is the smallest unit of execution?