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 diffrence between protected ,internal and protected
internal??
whether protected field available in derived class which is
outside the assembly.
if not ..this is possible by which access modifiers??

Answers were Sorted based on User's Feedback



what is diffrence between protected ,internal and protected internal?? whether protected field av..

Answer / komilla shaheen

Protected means within the same class .Internal means
within the same assembly.Protected internal means class
member within the same class,inherited classes in the same
assembly.i think it protected internal which is availble
in derived class which is outside the assembly.

Is This Answer Correct ?    2 Yes 1 No

what is diffrence between protected ,internal and protected internal?? whether protected field av..

Answer / priya

Protected means within the same class and types derived from containing class.
.Internal means within the same assembly.
Yes, protected field will be available in derived class which is
outside the assembly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Where is the output of TextWriterTraceListener redirected?

1 Answers  


What?s the top .NET class that everything is derived from?

7 Answers  


What is Inheritance in C#?

1 Answers   B-Ways TecnoSoft,


What is data reader in c#?

0 Answers  


Does C# support multiple inheritance?

3 Answers   IBM, Siebel Systems, Visual Soft,


What is sorting in c#?

0 Answers  


Describe the accessibility modifier protected internal.

3 Answers   Siebel Systems, Visual Soft,


What is exe file in c#?

0 Answers  


Is is possible to force garbage collector to run?

0 Answers  


If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?

0 Answers  


What is the difference between console application and windows application?

0 Answers  


Can you inherit multiple abstract classes in c#?

0 Answers  


Categories