What is the DIfference between Friend and Protected Friend?
Answer Posted / benjamin marty
I guess the difference is this:
Friend can be accessed by
1. Code within the class
2. Code in derived classes within the same assembly
3. Other code in the same assembly
Protected can be accessed by
1. Code within the class
2. Code in derived classes within the same assemblies
3. Code in derived classes in other assemblies
Protected Friend can be accessed by
1. Code within the class
2. Code in derived classes within the same assembly
3. Other code in the same assembly
4. Code in derived classes in other assemblies
Is This Answer Correct ? | 47 Yes | 9 No |
Post New Answer View All Answers
What are the technology areas that microsoft.net contains?
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.
What are the two main parts of .net?
What is the feature anonymous type?
What do you mean by serialization?
What do you understand by vb.net?
Explain about delegate?
what is common language specification?
What is pre-jit?
What is the difference between import system.data.sqlclient and system.data.oledb?
Is vb net a scripting language?
What are the shadow variables?
What is the Advantage of vb.net over vb
What is tracing?
What are the different variables in vb.net?