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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you declare a method in c#?

578


What is serialization in c#?

563


What's the difference between a method and a procedure?

577


What is reference types in c#?

579


What are All kind of access specifiers for a class and for methods

660






1. Describe page life cycle?

1665


Define property in c#.net?

611


What are the problem with .NET generics?

638


Which programming language is best for desktop applications?

562


What language is arduino?

613


What is difference between const and static in c#?

561


Define c# delegate?

621


Which is faster iqueryable or ienumerable?

652


What is the difference between returning iqueryable vs ienumerable?

549


How do you prevent a class from being inherited?

616