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 hashmap in c#?
Why do canadians say zed?
Why do we use partial class in c#?
What does exclamation mark mean c#?
Explain about Serialize and MarshalByRef?
Can you instantiate a struct without using a new operator in c#?
Explain a MSIL ? Why is it appreciated by all developers?
Why do we use virtual methods in c#?
What is array c#?
What are the value types in c#?
What is default access modifier for class in c#?
What are the boolean data types in c#?
What are the different types of assembly?
How many types of inheritance are there in c#?
Can you have an array of arrays?