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 / sujai cn

protected :
The members which are declared as protected can only be
accesed from the derived class.

Internal :
In c# The members which are declared as Internal can only
be accessed "with in the assembly(dll or an exe)".

Thus when we declare a member as protedcted internal it can
be accessed by the derived class with in the same asssembly.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the output of TextWriterTraceListener redirected?

994


What is constants in c#?

818


What is the default value of boolean variable?

907


What is list collection in c#?

908


What is hierarchical inheritance in c#?

903


What is get set in c#?

912


What is regex c#?

855


What is Satellite Assemblies ?

943


What is asynchronous one-way calls?

927


What are the basics of c#?

970


What is the use of convert toint32 in c#?

916


Can you pass parameters to destructors?

981


What do you mean by string objects are immutable?

944


What is exe in c#?

857


What is the namespace for datatable in c#?

911