namepace and assembly
2009-04-07 10:53
169 查看
Assembly will contain Namespaces, Classes, Data types it’s a small unit of code for deployment. Assembly defines the name of the .dll file.
Namespace is used in order to avoid conflict of user defined classes
Namespace:
1) it is a Collection of names wherein each name is Unique.
2) They form the logical boundary for a Group of classes.
3) Namespace must be specified in Project-Properties.
Assembly:
1) It is an Output Unit.
2) It is a unit of Deployment & a unit of versioning.
3) Assemblies contain MSIL code.
4) Assemblies are Self-Describing. [e.g. metadata,manifest]
5)An assembly is the primary building block of a .NET Framework application.
6) It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files).
7) All managed types and resources are marked either as accessible only within their implementation unit, or by code outside that unit.
Namespace is used in order to avoid conflict of user defined classes
Namespace:
1) it is a Collection of names wherein each name is Unique.
2) They form the logical boundary for a Group of classes.
3) Namespace must be specified in Project-Properties.
Assembly:
1) It is an Output Unit.
2) It is a unit of Deployment & a unit of versioning.
3) Assemblies contain MSIL code.
4) Assemblies are Self-Describing. [e.g. metadata,manifest]
5)An assembly is the primary building block of a .NET Framework application.
6) It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files).
7) All managed types and resources are marked either as accessible only within their implementation unit, or by code outside that unit.
相关文章推荐
- JNDI Java Name and Directory Interface
- Android Studio using a library and project with the same package name
- 异常解决:non-compatible bean definition of same name and class【com.xxx.xxx.XXX】
- Mixed mode assembly is built against version 'v1.1.4322' of the runtime and...问题——C# DirectXSound
- Git在提交的时候:user name and email must be set brfore commit.
- unity 4 Please check your configuration file and verify this type name.
- getElementById(), getElementsByName(), and getElementsByTagName() 和用法
- 关于“Remote Executable Path And File Name”找不到远程可执行文件……
- 获取表单对象,得三种方法getElementById(), getElementsByName(), and getElementsByTagName() 和用法
- There is no Action mapped for namespace / and action name UserAction
- 无法将临时文件复制到输出目录和无法将文件 assembly name 复制到运行目录。 进程无法访问该文件,因为它正由另一个进程使用
- The certificate used to sign “AppName” has either expired or has been revoked. An updated certificate is required to sign and install the application解决
- 获取表单对象,得三种方法getElementById(), getElementsByName(), and getElementsByTagName() 和用法
- ASP.Net MVC – What are the uses of Display, DisplayName, DisplayFormat and ScaffoldColumn attributes
- The method to fix "Please specify the assembly explicitly in the type name."
- Remote IIS 5.x and IIS 6.0 Server Name Spoof
- Cygwin Application initialization failed: no display name and no $DISPLAY environment
- HDFS学习(三) – Namenode and Datanode