.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Inheritance

Posted By: iswarya     Posted Date: November 16, 2011    Points:5   Category :C#
When we inherit a protected class-level variable,who is it available to?

Responses
Author: Amit Mehra             
Posted Date: November 16, 2011     Points: 20   

Hi,

Protected members can be accessible by all the derived class irrespective of the Namespaces only protected Friend or protected internal will be accessed inside the namespace

ref http://r4r.co.in/

Thanks,
Amit
Please "Mark As Answer " if this post help you.
Author: shankey             
Posted Date: November 21, 2011     Points: 20   

It will be accessible in immediate inheriting class

Shankey
Author: Pankaj Chahar             
Posted Date: November 26, 2011     Points: 20   

Hi

Protected members can be accessible by all the derived class irrespective of the Namespaces only protected Friend or protected internal will be accessed inside the namespace


Pankaj Chahar

Deserve More...




Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend