C# Interview Question #131

What is an assembly in .NET?

Reflection, Dynamic & Runtime Senior Advanced

Quick Interview Answer

An assembly is a compiled deployment and versioning unit in .NET. It normally corresponds to a .dll or .exe file.

Detailed Explanation

An assembly is a compiled deployment and versioning unit in .NET. It normally corresponds to a .dll or .exe file.

An assembly contains Intermediate Language, metadata, type definitions, references, and a manifest describing the assembly.

Multiple namespaces and many types can exist in one assembly. Assemblies are important for application boundaries, dependencies, loading, reflection, and deployment.