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
Explain and brief about rapid application development tool?
what is intermediate language?
What is static member?
What is pre-jit?
Which classes a dll can contain?
Explain clr?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What is the difference between static or dynamic assemblies?
Which class allows an element to be accessed using unique key?
how to deploy vb.net with key and evaluation time? any one can help me?
Can you please explain the difference between dataset and datareader?
Explain how to send xml file on server using http protocol?
Which dll is used for microsoft .net run time?
Explain convert.tostring and i.tostring method?
Can you please explain the difference between system.string and system.stringbuilder classes?