VB.net program without using classes?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

1) I agree that useing classes is the best way to use VB.net. The question
is how do you write a VB program without using classes?

2) For my own edification where can I see an actual "full blown" VB .net
program that doesn't use classes?
 
AFAIK impossible as even a module is nothing else as a class with all
members declared shared

hth

Michel
 
Winlin,

If you use shared classes (or in other words modules) you are in fact
programming without objects. All code is placed on the stack. It is not
withouth classes because the description of the objects and shared classes
is still in a class; But because many people have problems in the diference
between a class and an object is this maybe your answer.

Cor
 
Back
Top