Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between protected and protected internal?

Answer Posted / lakshmi harathi

Protected: This also allows a class to hide its member
var. and member func. from other class objects and
function, except the child class. it becomes important
while implementing inheritance.
"it can be accessible into derived class with in the same
application "
"protected members can be accessed within the class and the
derived class"

Protected Internal: it's similar to Protected access
specifier, it also allows a class to hide its member
variables and member function to be accessed from other
class objects and function, excepts child class, within the
application. used while implementing inheritance.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is arraylist?

1047


What to implement on my class Finalize or IDisposable

1026


What is parallel programming in c#?

977


In c#, what will happen if you do not explicitly provide a constructor for a class?

1010


What is the benefit of using interface in c#?

1049


Explain attributes in c#?

886


What is verbatim string?

979


Why do we use ienumerable in c#?

939


What is the difference between continue and break statement?

1009


What is c# used for?

1093


What is an interface class in c#?

1166


how dot net compiled code will become platform independent?

981


Where static variables are stored?

1000


How the versioning applies to Assemblies or can you explain version numbers?

1077


What is difference between Trace and Debug

1128