1. Home
  2. Computing & Technology
  3. Visual Basic
Dan Mabbutt
Dan's Visual Basic Blog

By Dan Mabbutt, About.com Guide to Visual Basic

Friend and Protected Friend in VB.NET

Friday May 15, 2009
In addition to the three access modifiers we have always had - Public, Private and Friend - VB.NET adds one and a half more - Protected and Protected Friend. The last only counts for half because it's really just the union of two of the others. Why do we need these? ... This Quick Tip tells you.
Comments
May 20, 2009 at 9:56 pm
(1) MagicT says:

Dan, I’ve been programming for many years in various language, but have only played around in true Object Oriented languages like Java. It’s quite a learning curve for an old-time programmer.

I’ve been programming in VB for many years. I can’t say that I’ve ever had a need for inheritance! It’s a cool idea and I understand the press about not re-inventing the wheel, but I’ve never banged my head against the wall saying “if only I had inheritance!”

Now that I am in a position where I MUST learn VB.Net, I’m wondering if I’ll get religion on this!

May 26, 2009 at 5:46 pm
(2) visualbasic says:

It would be to your best interest to get religion on this!

On a basic level, you don’t create inherited classes yourself a lot, but you have a heck of a time using some of the technology available to you when you don’t ‘get’ the concepts.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Visual Basic
By Category
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Visual Basic

©2010 About.com, a part of The New York Times Company.

All rights reserved.