What is friend and protected-friend access specifier in
vb.net?
Answer Posted / viramgama parth
Friend Variables declared as Friend can be accessed from the outside world but only from other
classes of the assembly, which are classes that make up the application. You cannot declare a Friend
variable inside the method declaration space and implementation.
·
Protected Friend Variables declared as Protected Friend are afforded the same protection as
Friend access. The difference, however, is that you can also access these variables from derived
classes. You cannot declare a Protected Friend variable inside the method declaration space and
implementation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is difference between web.config and machine.config and where it will be ?
Explain option explicit?
What is enumerator?
Tell us how many languages are supported by .net?
Explain convert.tostring and i.tostring method?
Write a program to find all text files in a logical drive and return the count of the number of files?
Explain the difference between vb.net and c#, related to oops concepts?
Explain about the keyword must inherit?
What is the difference between custom control and user control?
Explain about the ruby interface generator?
What is the purpose of an Assembly?
How vb implements the disconnected architecture as like vb.net?
what is commom language runtime?
What are the features present in vb 2005?
List the types of authentication?