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 |
Can we override interface methods in c#?
How are methods overloaded?
What is int tryparse in c#?
Why data types are important in c#?
What is the difference between string and string in c#?
What is the main method in c#?
How encapsulation and abstraction defined/used in C#.NET.
What are native methods?
What are the properties of c#?
What are mutable and immutable types in c#?
What is dataadapter c#?
Can int be null in c#?