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 are the advantages of migrating to vb.net?

923


How can we remove handlers at run time?

1011


how many server control present in .net

2700


Explain about branching logic control in vb.net?

890


What is the role of new keyword?

987


Which namespace are used for accessing the data?

1139


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

983


What is a literal control?

956


Explain the difference between system.string and system.stringbuilder classes?

917


What is portable executable?

1105


What is normal jit?

1003


What are the difference between dispose(), close(), exit(), end()?

853


What is intermediate langauge?

910


Which properties are used to bind a DataGridView control?

1061


Explain the difference between c# and vb.net?

977