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

Explain about Protected and protected internal, ?internal?
access-specifier?

Answer Posted / sumathi

Protectd :

Method declared as Protected,means it is accessible only in
it's derived classes.
So with this access specifier we can provide more security
to the class members.

Protected internal:

Methods or varibales are declared as protected internal are
accessible in the derived classes but outside the assembly
also.

Internal:
Member Methods or member variables declared as internal are
accessible with in classes of the same assembly.

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are class fields?

958


Enlist all the components of an ado.net framework?

877


what is a structure in c#

1691


What are the different types of classes?

1005


What is xaml in c#?

938


What is use of private class in c#?

993


Is arraylist type safe in c#?

992


What does console mean c#?

932


Explain what is an interface in c#?

956


What is _viewstart cshtml?

899


What is clr namespace?

1040


Why are local variables stored in stack?

1037


Explain the steps to create satellite assembly?

903


Explain about Serialize and MarshalByRef?

965


What is xml document how do you open it?

983