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 difference between ienumerable and ienumerator in c#?
What is the wildcard character in sql?
What do you mean by string objects are immutable?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
Is it possible to inherit multiple interfaces?
What is threading in c# with example?
What is the purpose of dictionary in c#?
What are native methods?
What are handlers in c#?
What is Delegate and what is it used for ?
What is a satellite assembly in c#?
What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?
What is cshtml extension?
Can we inherit a class with private constructor in c#?
What can be done with c#?