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...

difference between keyword internal and protected?

Answer Posted / pawan

protected and internal can be accessed in the derived class
which can be in different namspaces.

Protected can not be accessed using object, it dosen't
matter whether it is in same or different namespace.

Only internal method will be accible using object

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define c# i/o classes?

931


Why do we need indexers in c#?

927


Why delegates are type safe?

925


What is the best dependency injection c#?

883


What is the property of a class in c#?

887


Who is a accessibility modifier “protected internal” available to ?

1014


What is the advantage of constructor in c#?

909


How do you set a class path?

885


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

963


What is the use of convert toint32 in c#?

978


Explain the difference between proc. Sent by val and by sub?

929


What is a nullreferenceexception and how do I fix it?

1021


State the top.NET class that everything is derived from?

945


List some of the common data providers for ado.net framework?

856


What is the execution entry point for a c# console application?

989