How to make a class non-inheritable other than sealed?
Answer Posted / chanchal rai
yes we have only one option to make none inheritable other than sealed.....we ll have to make the class Private.whenever we do use the Private keyword in the class for make it private than no any methods and class can inherit from that class
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain static class members.
What is class sortedlist underneath?
Describe the difference between inline and code behind - which is best?
Give some examples of commonly used i/o classes?
What is the main purpose of xml?
What is null in database?
How big is int16?
How can I produce an assembly?
Explain hash table in c# ?
Can we call server-side code (c# or vb.net code) from javascript?
What is an extension method in c#?
What is using keyword?
Give examples for reference types?
What are the desktop applications?
What is difference between association, aggregation and inheritance relationships?