what is the difference between a namespace and assembly ?
Answers were Sorted based on User's Feedback
Answer / deepak srivastava
Following are the differences between namespace and
assembly :
√ Assembly is physical grouping of logical units. Namespace
logically groups
classes.
√ Namespace can span multiple assembly.
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ramakrishna
assembly
1.an assembly is a .exe or .dll file.
2.an assembly may be contain several namespaces.
namespace
1.namespace is a group of entities like class
,object,functions under single name.
2.namespace used for avoiding clash of class names.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / ashish
The Namespace is collection of Class &
Assembly is collection of software components information,
version information. You can say it machine language or it
is.
| Is This Answer Correct ? | 13 Yes | 7 No |
Answer / kumar abhinav
Namespace: It is a Collection of names wherein each name is Unique.
They form the logical boundary for a Group of classes.
Namespace must be specified in Project-Properties.
Assembly: It is an Output Unit. It is a unit of Deployment & a unit of versioning. Assemblies contain MSIL code.
Assemblies are Self-Describing. [e.g. metadata,manifest]
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). All managed types and resources are marked either as accessible only within their implementation unit, or by code outside that unit.
| Is This Answer Correct ? | 7 Yes | 1 No |
Explain three modes in which files can be accessed from python program
how to check single or double byte in struts
how can we implement locks in plsql?
what is programming language?
what do you meant by Platform-Independent in Java?
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
In java without use of main() how to execute the program
Building Quotation engine program
what are all the ant command options
What do you meant by Runtime Polymorphism?
How to know we are in home page of a web application using QTP
Diffrence between 2.0,3.0,3.5,4.0. versions of .net?