Difference between an EXE and a DLL?
An exe runs in it's own address space / process but Dll gets loaded into the exe's process address space,In C# dll does not have a main
An EXE is visible to the system as a regular Win32 executable. Its entry
point refers to a small loader which initializes the .NET runtime and tells
it to load and execute the assembly contained in the EXE.
A DLL is visible to the system as a Win32 DLL but most likely without any
entry points. The .NET runtime stores information about the contained
assembly in its own header.
I hope i'm right, if i'm not, please correct me