-
August 18th, 2004, 04:21 AM
#1
Difference between Assembly and Namespace
Hi,
Could anyone tell me difference between Assembly and Namespace in .NET
-
August 18th, 2004, 09:55 AM
#2
Assembly is a piece of code (IL) that can be executed by .NET Framework.
Namespaces are designed to solve naming problems. You can have, for example, two different classes with the same name. Placeing them in different namespaces can solve the problem.
-
September 15th, 2006, 11:05 AM
#3
Re: Difference between Assembly and Namespace
hi Mr. Kaushik
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.
Hope this helps!!!!!
Cheers.......
Last edited by Pawan.Singh; September 15th, 2006 at 11:08 AM.
-
September 28th, 2006, 05:36 AM
#4
Re: Difference between Assembly and Namespace
I want to try too
Assembly: A managed dll or exe (built by .NET)
Namespace: A group of managed types (classes, enums, structs, etc).
One assembly can contain several namespaces.
One namespace can contain types from different assemblies.
The name of the namespace is not necessarily the name of the assembly.
-
September 28th, 2006, 05:52 AM
#5
Re: Difference between Assembly and Namespace
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|