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

What is the difference between protected and protected internal?

Answer Posted / sujai cn

protected :
The members which are declared as protected can only be
accesed from the derived class.

Internal :
In c# The members which are declared as Internal can only
be accessed "with in the assembly(dll or an exe)".

Thus when we declare a member as protedcted internal it can
be accessed by the derived class with in the same asssembly.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a decimal an integer?

871


What is a singleton unity?

981


What is access specifier in c#?

1059


Explain the term inheritance in C#.

951


Explain the difference between abstract class and interface in .net?

910


What is an int in c#?

913


Can we override main method in c#?

964


Can int be null in c#?

880


How do I make a dll in c#?

934


How do you prevent a method from being overridden in c#?

858


What is selector c#?

903


What is asynchronous one-way calls?

977


Can derived classes have greater accessibility than their base types?

937


What are Types of assemblies that can be created in dotnet

1031


Write a program in c# to find the angle between the hours and minutes in a clock?

916