protected inheritence in C#

Posted by Dipu710646 under C# on 12/12/2010 | Points: 10 | Views : 1082 | Status : [Member] | Replies : 1
Hi All,

Does C# support protected inheritence? If yes..how ?

Public class derived : protected Base
{

}




Responses

Posted by: Eswarreddy on: 12/12/2010 [Member] Starter | Points: 25

Up
0
Down
Hi this link may solve your issue. C# doesn't support protected or private inheritence, but most of the time when protected or private inheritence is used, what is really needed is protected or private containment. try with virtual methods.
1) http://www.gamedev.net/community/forums/topic.asp?topic_id=389299
2) http://msdn.microsoft.com/en-us/library/ms173149.aspx



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

Login to post response