How to make a class non-inheritable other than sealed?
Answer Posted / jj
A static class is basically the same as a non-static class,
but there is one difference: a ... Static classes are sealed
and therefore cannot be inherited.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Explain About a class access specifiers and method access specifiers.
What is an assembly qualified name
What is this keyword in C#?
Why do we need generics in c#?
What is parameter c#?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
Which are access modifiers available in c#?
What is signature c#?
What is a method signature in c#?
what happens if you inherit multiple interfaces and they have conflicting method names?
What are the 4 pillars of any object oriented programming language?
What are properties in C#?
What is the difference between int.parse and int.tryparse methods?
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
What is difference between ilist and list in c#?