difference between vb and vb.net

  • Thread starter Thread starter N.K.Arun
  • Start date Start date
N

N.K.Arun

sir

I want to know the exact difference between vb and vb.net.
ie why we call vb.net as fully oops language, and why vb
is not and in what aspect.

Thankingyou
 
Hi,

- VB6 does not support inheritance, VB .NET does
- VB6 supports interfaces in an awkward way and mostly to support underlying
COM infrastructure, VB .NET fully supports interface-based programming
- VB6 does not support polymorphism, VB .NET does

This is of course not a complete list, just a few key differencies.
 
The basic premises of OOP are Inheritance, Polymorphism and Encapsulation.
Dmitry's post pretty much gets to the heart of it.

Since creating robust base classes and subclassing them is a the foundation
of re-use,and vb 6 didn't really support inheritance....

Do you have a specific area you are wondering about? This sounds an awful
lot like a question a professor gives sutdents so pardon my ambivalence on
elaborating.

Cheers,

Bill
 
Hi,

Arun said:
if possible send in detail.

If you really want to discover the differences in detail, I suggest you try
and rediscover the lost art of the internet search. Start with
www.google.com.

As a side note, I think I remember seeing something on msdn detailing the
differences.

-- Pete
 
Back
Top