Search This Blog

Tuesday, July 9, 2019

Real time example of sealed class and method in C# Programming

Sealed class cannot be inherited and sealed method in C# programming cannot be overridden. If we need to stop a method to be overridden or further extension of a class in inheritance hierarchy,  we need to use Sealed method and Sealed class respectively in C# object oriented programming.

No comments :