difference between keyword internal and protected?
Answer Posted / jebasingh luccas
Major different between these internal and protected
keyword reside on scope in which it can be accessible.
internal defines the scope with in the assembly and
protected defines the scope to the derived
(sub) class.
| Is This Answer Correct ? | 39 Yes | 6 No |
Post New Answer View All Answers
What are custom attributes in c#?
How many types of polymorphism are there?
What are the collections in c#?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
How can I develop an application that automatically updates itself from the web?
How can you access a private method of a class?
Which class comes after the SortedList class?
Explain about accessibility modifier 'protected internal'?
What is yield in c#?
What is the difference between returning iqueryable vs ienumerable?
Do we get an error while executing the “finally” block in c#?
What is field in c#?
What are regular expressions? Search a string using regular expressions?
What is deferred execution?
What do you mean by “finalize” and “finally” methods in c#?