Answer Posted / gpriya
A sealed class cannot be inherited. It is an error to use a
sealed class as a base class. Use the sealed modifier in a
class declaration to prevent inheritance of the class.
It is not permitted to use the abstract modifier with a
sealed class.
Structs are implicitly sealed; therefore, they cannot be
inherited.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is difference between the "throw" and "throw ex" in .net?
How to put assembly in gac?
What are reflections in c#?
what is the difference between interface and multiple interface?
Does c# have functions?
What is executereader in c#?
What is .cs file in c#?
Can datetime be null c#?
code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.
what is the scope of anonymous type ?
What are the differences between value types and reference types?
What is linq c#?
Does c# provide copy constructor?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
What is the use of oops in c#?