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 task parallel library?
Explain About delegates
Explain briefly the difference between value type and reference type?
Define Final Class in C#
What is a cs file?
Can scriptable objects have methods?
Can a class have multiple constructors c#?
Explain metadata in c#.
When can a derived class override a base class member?
Can dictionary have duplicate keys c#?
Is multiple inheritance possible in c#?
Does main have to be static c#?
How many bytes is an int in c#?
What is the difference between a private assembly and a shared assembly?
Why do we use delegates?