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
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 |
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 |
What is difference between a type and class?
What does firstordefault mean in c#?
what is a constructor? What is a destructor?
What is difference between mutable and immutable in c#?
What is the difference between static and private constructor?
What is the use of the dispose method in C# ?
What are the different types of constructors?
What is use of FormBoarderStyle Propertie
What is local function?
Where’s global assembly cache located on the system?
What is the difference between method and constructor in c#?
What's the difference between System.String and System..StringBuilder in C#?