Yes, that’s 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’s the same concept as final class in Java.
©2007-2008 interviewsworld.com All Rights Reserved. | About Us | Contact Us | Disclaimer | Privacy Policy | Terms Of Service User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License