Wednesday, 19 August 2015

What is difference between NameSpace and Assembly

NameSpace :
  • Namespace is a collection of names where in each name is unique.
  • They form the logical boundary for a group of classes.
  • Namespace must be specified in project properties.
  • Namespace is group of entities like class, object, functions under single name.
Assembly :
  • An assembly is a .exe or .dll file.
  • An assembly may be contains several namespaces.
  • It is an output unit. It is a unit of Deployment & a unit of versioning.
  • Assemblies are self_Describing.[eg: manifest,Metadata}

No comments:

Post a Comment