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
How to use reflection to call generic method?
What is difference between abstract class and interface in c#?
Can a constructor be private in c#?
Why we use get set in c#?
windows c# using datagridview in edit form sql server
What tool we have to use to install assembli in gac folder.
Explain the various types of classes used in c#?
How to generate strong name key file or which command is used to generated strong name key file?
what is a enumeration in c#
Which compiler switch creates an xml file from xml comments in the files in an assembly?
What is the difference between delegates and superdelegates?
What are virtual destructors?
What is the example of predicate?
How do you mark a method obsolete?
What is expression tree in c#?