Difference between an Assembly and DLL

 Posted by Ddd on 2/9/2011 | Category: .NET Framework Interview questions | Views: 12598 | Points: 40
Answer:

An assembly is basically a file that contains the MSIL Code and Metadata.
It is the smallest unit of deployment of .NET applications.
An assembly in .NET has 2 extensions (.exe and .dll)

dll : dynamic link library.
So, we can say a dll is an assembly, but an assembly may not always be a dll

In other words, dll is one type of an assembly


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Naimishforu on: 2/9/2011 | Points: 10
Assembly can be executed while DLL not??
Posted by: Ddd on: 2/9/2011 | Points: 10
Assembly can be executed while DLL not
Refer to MSDN
Posted by: Naimishforu on: 2/9/2011 | Points: 10
okies, fine. Thanks for your help.

Thanks

Login to post response