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 enumerator?
Explain the components of common language runtime.
What is the strong name in .net assembly?
What are all the parts of .net framework?
What is datatype conversion?
Explain how to achieve polymorphism in vb.net?
Observations between vb.net and vc#.net?
what is interface and when it is used?
What is code security?
thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net
Explain the difference between vb 6 and vb.net?
Explain about garbage collection?
What is late binding?
Explain convert.tostring and i.tostring method?
What is the exact defination of object?