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

Explain about visual basic.net?

652


What is different between web.config and machine.config and where it will be ?

552


What is tracing?

604


What is the difference between static or dynamic assemblies?

554


Explain the difference between .dll extension and .exe extension files?

518






What are the advantages of an assembly?

595


What is the source code for display the picture in button click event?

698


What is a preprocessor directive in vb.net?

536


Can you please explain the difference between int and int32?

560


Which is the base class for all the classes in .net framework?

556


What are option strict and option explicit?

785


write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.

1170


Can you please explain the difference between authentication and authorization?

528


What is the advantage of using system.text.stringbuilder over system.string?

601


Which is the tool which can convert visual basic old version to .net compatibility version?

524