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
So you know which dll is used for microsoft .net run time?
What is the top .net class that everything is derived from?
Define serialization in .net?
List the different types of assembly?
Name some different types of control?
What do you understand by vb.net?
Explain about Visual basic.NET culture?
What is a static variable?
Explain some of the exclusive features which are present in vb?
How do you retrieve the customized properties of a .net application from xml .config file?
What is datatype conversion?
What do you mean by Redim in VB.NET?
What is the significance of delegates?
What is strong name in .net assembly?
difference between control and component more than one differences