How to make a class non-inheritable other than sealed?
Answer Posted / kishore.a
There are two ways:
1: Make the base class as static.
2: Declare a privete constructor in the base class.
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
How to use exception handling in stored procedure?
How does insertion sort work?
Is stringbuilder faster than string concatenation c#?
List down the reason behind the usage of c# language.
What do you understand by 'access specifiers' in C#?
In dynamic link library, which api is used for load library?
How would you describe encapsulation in c#?
What is mean by c#?
Is c sharp free?
What is the full form of GAC? Explain its uses?
Explain publishers and subscribers in events.
What is extension method in c# and how to use them?
What is dataadapter c#?
What is string pool in c#?
Is c# queue thread safe?