what is the difference between a namespace and assembly ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between delegates and Events?

1704


1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?

1645


what is class module in vb6? what it's use? with example..

1944


Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number

719


how to hide prompts

1455






19. Given a system that is described with the following equation, X=A+(B.(A̅+C)+C)+A.B.(D̅+E̅) a) Simplify the equation using Boolean Algebra. b) Implement the original and then the simplified equation with a digital circuit. c) Implement the original and then the simplified equation in ladder logic.

1242


how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?

1889


what are other resources are needed for this mantis?

1510


why not instantiating servet using new operator?

1487


what do u mean by tagging

1614


in a VB application, where the data will be stored after manipulation? what is the syntax for that?

1815


how to convert infix expression to prefix expression?

3823


what is the difference between an OS(operating system) and Framework?

1514


what is diff bet ref variable & instance of class

1543


what is the last ant version you worked?how to get it

1458