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 |
Why do we need serialization?
What are generations and how are they used by the garbage collector?
Why do we use Design Pattern?
What is a proxy of the server object in .NET Remoting?
What is sqlcommandbuilder c#?
Can we instantiate abstract class in c#?
What are the properties of c#?
What?s the .NET datatype that allows the retrieval of data by a unique key?
What is the difference between firstordefault and first?
What is the default value of date?
What do you mean by for each loop?
What are modifiers in c#?