Google News
logo
.Net - Interview Questions
Explain the different types of assembly.
Assemblies are classified into 2 types. They are :
 
Private Assembly :
* It is accessible only to the application.
* We need to copy this private assembly, separately in all application folders where we want to use that assembly. Without copying, we cannot access the private assembly.
* It requires to be installed in the installation directory of the application.

Shared or Public Assembly :
* It can be shared by multiple applications.
* Public assembly does not require copying separately into all application folders. Only one copy of public assembly is required at the system level, we can use the same copy by multiple applications.
* It is installed in the Global Assembly Cache(GAC).
Advertisement