Monday, November 16, 2009

Can you allow a class to be inherited, but prevent the method from being over-ridden?

Yes.  Just leave the class public and make the method sealed.

No comments:

Post a Comment

Disclaimer:- All articles are not written by me.i copied some useful definition and tutorials from others site, copied site location is shown in all articles bottom as source.