Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is friend and protected-friend access specifier in
vb.net?



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

Post New Answer

More VB.NET Interview Questions

Explain the difference between vb.net and c#, related to oops concepts?

0 Answers  


What is strong name in .net assembly?

0 Answers  


what is delegates

2 Answers  


How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?

0 Answers  


What is friend and protected-friend access specifier in vb.net?

1 Answers  


Explain the difference between web.config and machine.config and where it will be ?

0 Answers  


what is interface and when it is used?

0 Answers  


how many server control present in .net

0 Answers  


diff b/w windows and console application?

4 Answers  


What is global assembly cache (gac)?

0 Answers  


What is datatype conversion?

0 Answers  


Explain an assembly?

0 Answers  


Categories