Can you prevent your class from being inherited and becoming a base class for some other classes?

Submitted by: Administrator
Yes, that is what keyword sealed in the class definition is for. The developer trying to derive from your class will get a message: cannot inherit from Sealed class WhateverBaseClassName. It is the same concept as final class in Java.
Submitted by: Administrator

Read Online C# (Sharp) Programming Language Job Interview Questions And Answers