How can you prevent classes to be inherited?
Answer Posted / nitin kumar tomar
just make the class sealed like
sealed public class classname
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can we inherit private members of class in c#?
Define acid rule of thumb for transactions in c#.
Wht executescaler method is used?
What is routing in c#?
Why do we use namespace in c#?
What is datagrid c#?
How do we achieve encapsulation in c#?
Why delegate is used in c#?
Why do we use static methods in c#?
What is field in c#?
What is the use of console readkey in c#?
What are the advantages of interface in c#?
What are the types of parameters in c#?
What is difference between iqueryable and ienumerable in c#?
When a Static Constructor is called in a Class?