Types of Assemblies

Different types of assembly files can be created, depending on their roles. Executable assemblies differentiate from others in that they have an entry-point method and are referred to as applications. Library assemblies contain components that are used by other libraries/applications.

On the Windows platform, executables are stored with an .exe extension and library binaries are stored with a .dll extension. To the CLR, the extension is of little relevance and isn’t part of the assembly’s name, as you see later. To make assemblies into proper code binaries on the platform, they’re stored in Windows PE/COFF format, which stands for Portable Executable, Common Object File Format. Command-line language compilers reveal the output ...

Get C# 5.0 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.