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
Why use “using” in c#?
What is .net c#?
What are the return types in c#?
Which are access modifiers available in c#?
Does c# support parameterized properties?
How big is an int in c#?
What's c# ?
Why delegates are safe in c#?
What is xslt in c#?
Why do we use partial class in c#?
Why is lazy loading?
What is written in c#?
What is ado net in c#?
What are Uses of CLR
What is ControlBox Propertie