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
Explain cls?
Define serialization in .net?
How to view an assembly?
Explain the differences between vb.net and c#, related to oops concepts?
What is portable executable?
Can you please explain the difference between thread and process?
What is a stream in vb.net?
Which dll is used for microsoft .net run time?
What is option strict?
Explain global assembly cache (gac)?
What is the difference between system.applicationexception class and system.systemexception?
What is a literal control?
What are the different types of applications supported in .net (or) .net framework?
Explain the difference between value and reference types?
source code for how to login a vb.net application ?