sealed classes and methods in c#