Can you allow a class to be inherited, but prevent the method from being over-ridden?
Interview question and answer by: Raja
| Posted on: 4/27/2008 | Category: C# Interview questions
| Views: 3454 |
Yes. Just leave the class public and make the method sealed.
http://blogs.crsw.com/mark/articles/252.aspx | Asked In:
| Alert Moderator
Found interesting? Add this to: