Difference Between Namespace and Assembly in Visual Basic VB.NET



Namespace:
1) It is a collection of names in which each name is unique.
2) They make logical boundaries for classes of a group.
3) Name space must be specified in project-property.

Assembly:
1) This is an output unit.
2) It is a unit of deployment and is a unit of version.
3) The MSIL code is in the assemblies.
4) Assembling self-discretion. [Eg metadata, manifestation]
5) An assembly is the primary building block of the .NET Framework application.
6) It is a collection of functionality that is manufactured, upgraded and deployed as a single implementation unit (in the form of one or more files).
7) All managed types and resources are marked either within their implementation unit, or accessible by codes outside that unit.

Comments