difference between keyword internal and protected?
Answer Posted / pawan
protected and internal can be accessed in the derived class
which can be in different namspaces.
Protected can not be accessed using object, it dosen't
matter whether it is in same or different namespace.
Only internal method will be accible using object
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Define c# i/o classes?
Why do we need indexers in c#?
Why delegates are type safe?
What is the best dependency injection c#?
What is the property of a class in c#?
Who is a accessibility modifier “protected internal†available to ?
What is the advantage of constructor in c#?
How do you set a class path?
I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?
What is the use of convert toint32 in c#?
Explain the difference between proc. Sent by val and by sub?
What is a nullreferenceexception and how do I fix it?
State the top.NET class that everything is derived from?
List some of the common data providers for ado.net framework?
What is the execution entry point for a c# console application?