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
What is the difference between inheritance and abstract class?
What is an array of arrays called?
What is the difference between final finally and finalize in c#?
What is the main purpose of delegates in c#?
What are circular references?
What do you mean by abstract class in c#?
What is the difference between dynamic and var in c#?
What is public, private, protected, internal and internal protected?
What is ienumerable <> in c#?
Can enum have methods c#?
What does the keyword “virtual†declare for a method or property?
What is console based application?
What is multicast delegate in c# ?
What is assembly manifest?
What is the difference while using directive vs using statement ?