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 is datasource c#?

897


What's different between c# and c/c++?

940


Can a static class have a constructor c#?

910


Is c# front end or back end?

933


What is event delegate in c#?

1084


Explain deadlock?

1001


How to handle exceptions that are raised in a component?

1082


What are the value types in c#?

948


What is c# windows form application?

959


Explain About Postback

932


Is c# an open source language?

992


What are some examples of desktop applications?

928


What is the difference between static class and singleton class in c#?

924


How do I unload an application domain?

947


Can you explicitly call a destructor?

928