Assembly Vs Namespace

Assembly:
  • An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). It's a managed dll or exe (built by .NET).Assemblies are Self-Describing. [e.g. metadata,manifest]
  • One assembly can contain several namespaces.
Namespace:
  • A group of managed types (classes, enums, structs, etc). It form the logical boundary for a Group of classes.
  • One namespace can contain types(Objects) from different assemblies.
  • The name of the namespace is not necessarily the name of the assembly.

No comments: