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?

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


Please Help Members By Posting Answers For Below Questions

what is difference between web.config and machine.config and where it will be ?

987


Explain option explicit?

1058


What is enumerator?

1055


Tell us how many languages are supported by .net?

976


Explain convert.tostring and i.tostring method?

976


Write a program to find all text files in a logical drive and return the count of the number of files?

2758


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

983


Explain about the keyword must inherit?

1034


What is the difference between custom control and user control?

1054


Explain about the ruby interface generator?

1022


What is the purpose of an Assembly?

1130


How vb implements the disconnected architecture as like vb.net?

1071


what is commom language runtime?

1014


What are the features present in vb 2005?

1090


List the types of authentication?

970