What is friend and protected-friend access specifier in
vb.net?
Answer / 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 |
Explain the difference between vb.net and c#, related to oops concepts?
What is strong name in .net assembly?
what is delegates
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
What is friend and protected-friend access specifier in vb.net?
Explain the difference between web.config and machine.config and where it will be ?
what is interface and when it is used?
how many server control present in .net
diff b/w windows and console application?
What is global assembly cache (gac)?
What is datatype conversion?
Explain an assembly?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)