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 |
i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?
Which namespace are used for accessing the data?
what is vb,net
Explain the use of serialization and deserialization?
What is the ruby interface generator?
What is difference between import system.data.sqlclient,system.data.oledb?
How many classes a dll can contain?
What is code security?
Give the sample code for ItemStockGroupwise Report?
What are Major Feature of VB.NET Over C#.NET
Explain the difference between import system.data.sqlclient and system.data.oledb?
What is sealed class?
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)