VB.net program without using classes?

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?
 
M

Michel Posseth [MCP]

AFAIK impossible as even a module is nothing else as a class with all
members declared shared

hth

Michel
 
C

Cor Ligthert[MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top