Class, Module, Assembly

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
 
P

::P:e:s:c:e:::M:a:r:c:o::

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:blush::::p:e:s:c:e::
(e-mail address removed)
per contatti PVT elinimare NOSPAM
 
M

Mattias Sjögren

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
 

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