What is the DIfference between Friend and Protected Friend?
Answer Posted / vineeta agarwal
Friends can be accessed by all classes within assembely but
not from outside the assembely.
Protected variables can be used within the class as well as
the classes that inherites this class.
The Protected Friend can be accessed by Members of the
Assembely (Friend) or the inheriting Assembely class
(Protected).
So Friend is not same as Protected Friend
| Is This Answer Correct ? | 22 Yes | 7 No |
Post New Answer View All Answers
What is the use of errorprovider control?
How do you use two datareaders at the same time in a vb.net windows application ?
Explain how the .net framework performs automatic memory management.
What are the technology areas that microsoft.net contains?
What is the use of internal keyword?
What are the advantages of an assembly?
Explain how to achieve polymorphism in vb.net?
Define manifest?
Can you please explain the difference between system.string and system.stringbuilder classes?
What is public assembly?
what is the need for dynamic controls in vb.net? i would like to know for what purpose should we create the controls dynamically? please give the answer in simple words.
What is the difference between datagrid and gridview?
What is global assembly cache (gac)?
What is globalization?
Is vb.net dead?