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 wpf application in c#?
What is uint64?
what is an event? Define delegate?
can you create a function in c# which can accept varying number of arguments
Is string nullable in c#?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
How many bytes is an int?
What's the difference between an integer and int?
What is binding in c#?
what is the difference between the debug class and trace class?
What is the purpose of a constructor in c#?
What is a console file?
Is string passed by reference in c#?
Explain namespaces in c#.
What does exclamation mark mean in access query?