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
Explain manifest?
What is the difference between .dll extension and .exe extension files?
What is redim keyword?
What are the differences between c# and visual basic.net?
Explain the difference between vb 6 and vb.net?
Described strong typing
What do you mean by serialization and deserialization?
What is the significance of delegates. Where should they be used? What are the situations where we require them?
Is vb.net dead?
What is enumerator?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
What is a stream in vb.net?
Explain the observations between vb.net and vc#.net?
Explain the difference between .dll extension and .exe extension files?
What is an arraylist?