Can you prevent your class from being inherited and
becoming a base class for some other classes?
Answer Posted / shantanu singh patel
Yes you can make it by using Sealed keyword.
No when your class in Sealed you cant inherit the class
then the question of base class for some other class is not
significant.
Thanks and Regards,
Shantanu
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is difference between overloading and short circuiting?
What are properties in c#. Explain with an example?
Enlist some of the properties of a thread class?
What are events in C#?
Is predicate a functional interface?
How can you access a private method of a class?
What is constants in c#?
What is different between Static Constructor and Private Constructor?
What is data type c#?
What is mean by c#?
Which is faster array or arraylist in c#?
What is an interface class in c#?
Can multiple inheritance implemented in c# ?
How can I get the ascii code for a character in c#?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?