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 |
which of the following is efficient in terms of space a. insertion sort b. quick sort c. selection d. both a and c
what are all the validation we need to perform in data stage?
public static void main(String args[]) describe it
Data Structure: How many comparisons are necessary to find the largest and smallest of a set of n distinct elements?
can we use commit,rollback in triggers and how?
given a height balanced tree. If we add one more node , how many nodes gets unbalanced ?
class A{ void me(){s.o.p("");} class B extends A{ void me() {s.o.p(" ");} class M{ A a=new B(); B b=new A(); a.me(); b.mne();} what is the output of this, how?
2 Answers Cosmos, HyTech Pro, WinSoft,
what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct
swap two number wthout using third variable
how many languages .net is supporting now?
Difference of Console, web & windows applications?
we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/