"Fortunate are those who take the first steps.” ― Paulo Coelho

How to stop method overriding ? C# FAQ (tricky)


MSDN Ref : Read the last “topic-Consider sealing members that you override”

You can use this approach to ensure that derived classes do not modify or bypass behavior required for the current class and all derived classes.

Read from here :


March 11, 2010 - Posted by | Uncategorized

1 Comment »

  1. Very useful one. Thanks for sharing.


    Comment by Muruganantham | March 22, 2010 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: