Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 How can you prevent inheritance from a class in C#.NET ? ?->(Show Answer!)
1. How can you prevent inheritance from a class in C#.NET ?
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.04 pm
C#.NET allows sealed attribute to be used as a part of class statement. Classes declared with sealed keyword cannot be used as based class for other classes. Most important reason to do this world be to prevent behavior of a class to be changed in any way.