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 are Namespaces?
Is string null or empty?
Why do we need singleton class in c#?
What is semaphore in c#?
Is array thread safe c#?
Explain inheritance in c#?
What is an enumerator c#?
When Should You Call The Garbage Collector In .net?
What is scope c#?
What is the function of the not null constraint?
what is a destructor?
Does google use c#?
What is inumerable?
What is the value which is accepted by all data types ?
Which types of inheritances does c# support?