How to use sealed keyword in .Net?
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFi0XCtNY8CW0lv6dGYR6YqKxW0v1Twc9xTjHtAte8lVj8X9sTRfIMaO0Ap_AYNHA2nXq7CtmpH-yzHDyBPpwHcNQJbionM23J9kGar-PiiivkBu8Jpl8etIunFH3ruENrLwoBRxErj98/s400/seald.png)
Sealed is a keyword used to restrict inheritance future of programing language. When you mark any class to be sealed then you cannot make it to be parent class of other child class. In java final keyword is used for this same purpose. Example: namespace CA_Sealed { // declare sealed class public sealed class student () { public void std() { Console .WriteLine( "This is sealed method" ); } } // here you cannot inherit properties of student class class Program { static void Main( string [] args) { studen...