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
what is the meaning of Object lifetime in OOPS
What is the differences between datagrid, datalist and repeater in .net?
What is sqlcommand in c#?
What is _layout cshtml?
How can we sort the elements of the array in descending order?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
Give an example of removing an element from the queue?
What are the 3 different types of arrays?
What is connection pooling in ado.net?
Can we have static indexer in c#?
Which is better python or c#?
What is inumerable?
Is stringbuilder thread safe c#?
What is the base class of all classes in c#?
What is streamreader/streamwriter class?