Click here to Skip to main content
15,923,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the practical use of using sealed classes in C# other then performance
Posted

It prevents the derivation(Inheritance). Go google for detailed explanation.
 
Share this answer
 
Just a small hint,

C# Tweaks – Why to use the sealed keyword on classes?[^]

:) Happy Coding :)
 
Share this answer
 
Comments
Rakesh Agarwal1984 17-Apr-14 8:51am    
that I know to prevent classes from inheritance
nirav raval 17-Apr-14 8:56am    
Did you read it properly, because it has more information than "to prevent from inheritance". :)
Here some insight: "Rambling on the sealed keyword"[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900