What is the DIfference between Friend and Protected Friend?

Answer Posted / vimal

friend------access is limited to the current assembly
(application)
protected friend----access is limited to the current
assembly and types derived from the containing class..

Is This Answer Correct ?    18 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of delegates. Where should they be used? What are the situations where we require them?

529


What are the two main parts of .net?

564


What are the difference between structure and class?

558


How vb implements the disconnected architecture as like vb.net?

580


how many server control present in .net

2292






What is the feature which is common to all .net languages?

467


What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?

550


Explain about jagged arrarys ?

502


Explain an assembly?

570


source code for how to login a vb.net application ?

591


described weak typing?

585


Explain about the performance of visual basic?

589


What is branching logic control in VB.NET?

568


difference between checkbox vs radiobutton??

2484


What is the difference between import system.data.sqlclient and system.data.oledb?

502