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 the variables in c#?

886


What is the difference between a method and a property?

942


What is private and shared assembly?

937


What is get set in c#?

915


Why do we use void in c#?

812


Does unity require coding?

899


What is the syntax for calling an overloaded constructor within a constructor?

905


What is _viewstart cshtml?

832


What is overloading with example?

856


What is default boolean value in c#?

914


What is iqueryable in c#?

837


What is a static field?

852


What is the use of convert toint32 in c#?

919


Is and as keyword in c# net?

913


What is 8 bit signed integer?

866