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

Which is the base class for all the classes in .net framework?

976


What is difference between metadata and manifest?

1075


Why do we use byref keyword in vb.net?

1028


How does vb.net achieve polymorphism?

918


What is internal keyword in .net framework?

1022


What are the advantages of vb.net and c#?

1094


Using VB, how can you change the Mouse Pointer?

1088


Name the tool which can convert visual basic old version to .net compatibility version?

1026


What is normal jit?

1031


Tell me how many .net languages can a single .net dll contain?

931


What is the strong name in .net assembly?

971


What is the use of assembly?

977


Explain redim keyword?

990


How to create a constant in vb.net?

1151


What is the purpose of objects present in asp.net?

1026