Can you prevent your class from being inherited and becoming
a base class for some other classes?
Answer Posted / pank
Make your class constructor as Private then it will restrict from being inherit as well as instantiate.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is private static in c#?
What is the use of 0 in c#?
How many bytes is an int c#?
Define an abstract class?
What is singleordefault c#?
What is difference between dll and exe in c#?
Is stringbuilder faster than string concatenation c#?
Is it possible to nest cfml conditional tags?
What is the difference between static class and singleton class in c#?
What do you mean by hashtable c#?
How a two-dimensional array declared in C#?
what is the purpose of using statement in c#
Are private members inherited in c#?
In which order the destructor is called for an inherited class?
Which is the base class in c#?