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 advantages of VB.NET?
Explain about visual basic.net?
Can we use Vb.Net and C# language simultaneously in one .Net application?
What is the use of console application?
What is misl code?
Can you please explain the difference between c# and vb.net?
Explain the difference between web.config and machine.config and where it will be ?
Explain cts?
What are the different variables in vb.net?
What do you understand by vb.net?
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
Can you please explain the difference between dataset and datareader?
What are nested classes?
What are the shared variables?
What is the difference between compiler and interpreter?