DLL
- A Dll is a Dynamic Link Library can not run itself, used as a supportive file to other application.
- The Library Functions are Linked to the Application at Run Time (Dynamically) So the name is Dll.
- A Dll does not contain an entry point (main function) so can not run individually.
- An Exe is executable file and is not a supportive file rather itself an application.
- An Exe will contain an entry point (main function) so runs individually.
| SNO |
DLL |
EXE |
| 1 |
Can not run Individually |
Runs Individually |
| 2 |
Used as supportive file for other Application |
Itself an Application |
| 3 |
Does not contain an entry point (no main function) so can not run individually |
Contains an entry point (Main function) so can run individually |
| 4 |
A Program /Application with out main creates a DLL after compilation. |
A Program /Application With main creates an EXE after compilation. |
| 5 |
OS does not create a separate process for any DLL rather DLL will run in the same process created for an EXE |
OS Creates a separate process for each EXE it executes. |
Note: Creating a process is an overhead to the operating system so DLL does not contain main function to reduce the burden on the OS.
This is my first blog in c#corner. Thanks.

Bohdan StupakPosted Apr 29, 2022, 3:41 PM
These are some solid basics that should be know but every computer person
Sangam ChandanPosted Dec 22, 2020, 4:55 AM
Good one thanks for the post can you tell me for which type of applications can we create exe
talasu hemantkumarPosted Jul 16, 2019, 1:58 AM
Awesome explanation.
Deeksha PanditPosted Jun 11, 2016, 4:23 PM
Good one.Thanks for posting.
Mohammad KhalidPosted Mar 29, 2016, 2:25 AM
Very good post. Keep posting...You are helping developers.
Asfend YarPosted Feb 27, 2016, 8:13 AM
nice
Arul RPosted Jan 17, 2016, 3:10 AM
Nice share
Anupam SinghPosted Dec 31, 2015, 2:09 AM
Welcome Raja T . Nice Start.
Dhanik SahniPosted Dec 30, 2015, 4:25 AM
Simple and easy to understand
Anuradha SrivastavaPosted Dec 28, 2015, 4:47 AM
simple and clear
Santhakumar MunuswamyPosted Dec 27, 2015, 9:08 AM
Thanks for sharing
Sandeep KumarPosted Dec 27, 2015, 7:27 AM
Good keep posting