GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Microsoft.NET
Go To First  |  Previous Question  |  Next Question 
 Microsoft.NET  |  Question 20 of 38    Print  
What is Assembly name and name space? Whats the diffrence between the two?

  
Total Answers and Comments: 3 Last Update: March 16, 2007     Asked by: Lakshmanan 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: KulaShaker
 
An assembly is a logical unit of code. Physically it may exist as dll or an exe. which can contain one or more files and they can be any file types like image files, text files etc. along with DLLs or EXEs.When you compile your source code by default the exe/dll which is generated is actually an assemblyand every assembly file contains information about itself which is called as Assembly Manifest.Namespace is an abstract container providing context for the items it holds and allows disambiguation of items having the same name (residing in different namespaces. It can also be said as a context for identifiers. So under a namespace you can have multiple assemblies.

Above answer was rated as good by the following members:
surendra_sahu786
August 27, 2006 15:04:15   #1  
KulaShaker        

RE: What is Assembly name and name space? Whats the di...
An assembly is a logical unit of code. Physically it may exist as dll or an exe. which can contain one or more files and they can be any file types like image files text files etc. along with DLLs or EXEs.When you compile your source code by default the exe/dll which is generated is actually an assemblyand every assembly file contains information about itself which is called as Assembly Manifest.Namespace is an abstract container providing context for the items it holds and allows disambiguation of items having the same name (residing in different namespaces. It can also be said as a context for identifiers. So under a namespace you can have multiple assemblies.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
November 14, 2006 15:28:14   #2  
Srinivaasu        

RE: What is Assembly name and name space? Whats the di...
Thanks KulaShaker Assemblies are Physical collections where as namespaces are logical collections.Namespaces used for the rectifying the naming collisions of the classes (Say reduces the typing work of developers).
 
Is this answer useful? Yes | No
March 16, 2007 05:40:07   #3  
nagendrasrivastava        

RE: What is Assembly name and name space? Whats the di...
Assembly is the basic building block of .NET framework while namespace is a class.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape