How to Secure a Class from being inherited by unauthorised classes

Posted by Rohitigupta under C# on 6/2/2011 | Points: 10 | Views : 965 | Status : [Member] | Replies : 2
I have developed an application and using some class libraries for business logic. Now i want to protect this class from being inherited by other users but also i want flexibility to inherit the same class for my own applications.

Please suggest me if u have any idea to protect a class.

Rohit Gupta


Responses

Posted by: Susanthampy on: 6/3/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi,

check this links,

http://msdn.microsoft.com/en-us/library/ff648656.aspx


Regards,
Susan

Rohitigupta, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response