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
What are native functions?
Which is better interface or abstract class in c#?
What does clr stand for?
what is c# command?
What is a string in c#?
Can derived classes have greater accessibility than their base types?
What is readline library?
What is the difference between delegates and superdelegates?
what is a structure in c#
What is serialization in .net?
What do constructors do in c#?
Is c and c# the same?
What is a multi line comment?
What are the delegates in c#?
How does return work in c#?