what is diffrence between protected ,internal and protected
internal??
whether protected field available in derived class which is
outside the assembly.
if not ..this is possible by which access modifiers??
Answer Posted / priya
Protected means within the same class and types derived from containing class.
.Internal means within the same assembly.
Yes, protected field will be available in derived class which is
outside the assembly.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why would you use a class property in c#?
You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?
How do you sort an array in c#?
What is Delegate and what is it used for ?
what is IEquatable
How to Show Message box in Metro Style App?
what is the default access for a class
Is predicate a functional interface?
Can derived classes have greater accessibility than their base types?
What does return do in for loop?
How main method is called in c#?
Explain streamreader/streamwriter class?
What is deferred execution?
What is dictionary collection in c#?
Is typeof c#?