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 use of iqueryable in c#?
How is the syntax written to inherit from a class in C#?Give an example ?
Why array is faster than arraylist in c#?
What is a interface in c#?
what is IDisposal interface
What is the advantage of extension method in c#?
What do you mean by streamreader/streamwriter class in c#?
What is Assembly. and Describe type of assembly. why most developer happy with private assembly.
What is attribute and reflection in c#?
Is Multiple-inheritance supported by c#?
What is short in c#?
List some of the basic string operation?
What is the relation between classes and objects?
how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.
What is this keyword in C#?