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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are callback methods in c#?

513


Define a manifest in .net?

547


What is boxing and unboxing in c#?

480


How C# 4.0 supports dynamic programming language?

585


Give an example of a directcast.

525






Explain get and set accessor properties?

498


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

526


Explain the functionalities of satellite assembly?

560


Is comparable a functional interface?

514


What does char mean in c#?

514


What is the difference between first and firstordefault?

440


What is the difference between wrapper class and primitive?

470


What is a class c#?

487


What is constructors, explain with syntax

561


What is the task perform by clr?

583