Explain friend and protected friend?

 Posted by Lakshmiramesh on 6/26/2008 | Category: .NET Framework Interview questions | Views: 11190
Answer:

Friend/Internal - Method, Properties in that class can be accessed by all the classes within that particular assembly.
Protected Friend/Protected Internal - Methods, Properties can be accessed by the child classes of that particular class in that particular assembly.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response