Explain about Protected and protected internal, ?internal?
access-specifier?
Answer Posted / sumathi
Protectd :
Method declared as Protected,means it is accessible only in
it's derived classes.
So with this access specifier we can provide more security
to the class members.
Protected internal:
Methods or varibales are declared as protected internal are
accessible in the derived classes but outside the assembly
also.
Internal:
Member Methods or member variables declared as internal are
accessible with in classes of the same assembly.
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is datasource c#?
What's different between c# and c/c++?
Can a static class have a constructor c#?
Is c# front end or back end?
What is event delegate in c#?
Explain deadlock?
How to handle exceptions that are raised in a component?
What are the value types in c#?
What is c# windows form application?
Explain About Postback
Is c# an open source language?
What are some examples of desktop applications?
What is the difference between static class and singleton class in c#?
How do I unload an application domain?
Can you explicitly call a destructor?