Hi,

Currently all modules in VB runtime are declared as

    <StandardModule()> _
    Public NotInheritable Class <name>

while they could be declared as

    Public Module <name>

Also note that Classes have constructors while Modules not. (Modules are 
much like static classes in C# but members of Modules have global scope.)

Is there any reason to declare Modules as Classes?

Kornél 

_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to