Class, Module, Assembly

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

Guest

Hi,

What is difference between Class and Module in VB.NET?

What is difference between Module (mcm files which are added using /addmodule option of csc.exe) and Assembly(exe, dll)?

Thanks & Regards
GG
 
Hi,
What is difference between Class and Module in VB.NET?

What is difference between Module (mcm files which are added using
/addmodule option of csc.exe) and Assembly(exe, dll)?
Thanks & Regards
GG

The modules are code organization unit where you can include more classes
the classes are structure organization unit che you can define the your
program entity.

if i understand well your questions the assembly are the compile result of
modules, classes etc. of your solution
--
Ciao

::M:a:r:c:o:::P:e:s:c:e::
(e-mail address removed)
per contatti PVT elinimare NOSPAM
 
What is difference between Class and Module in VB.NET?

A Module is basicly a class that

* can't be instantiated, it has no constructors
* all members are implicitly Shared
* members are implicitly imported into the global namespace

What is difference between Module (mcm files which are added using /addmodule option of csc.exe) and Assembly(exe, dll)?

An assembly is made up of zero or more modules, and it contains an
assembly manifest with metadata describing the assembly.



Mattias
 
Back
Top