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

Define MSIL, and how does it works? Why our developers need an appreciation of it if at all?

922


Can constructor be protected?

854


What is constructor overloading in c#?

986


Is learning c# hard?

882


When To use HashTable In C#

975


what is .NET framework architecture ??

1972


Distinguish between array and arraylist in c#?

978


Explain metadata in c#.

848


What is a long in c#?

957


How many destructors can a class have?

991


What are jump statements in c#?

905


Can we have two main methods in c#?

907


How to override a function in c#?

960


What is an abstract class c#?

854


What is the example of predicate?

870