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 generation of Garbage Collection in C# .NET ?

944


Why do we use Design Pattern in C#?

1012


What is the interface in c#?

943


What is meaning of type safety in c#?

846


What is the do while loop code?

911


Is c# the same as d flat?

901


Explain the difference between “constant” and “read-only” variables used in c#?

1011


What is a decimal in c#?

929


When do we generally use destructors to release resources?

923


What is signature c#?

905


What is a console?

907


What is threading in c# with example?

900


What is a race condition?

879


Can you use foreach iteration on arrays in c#?

1054


What do you mean by jagged arrays in c#?

900