Friday, 19 September 2014

What is the difference between DLL and .EXE file in c#.


DLL
.EXE
1. It’s a executable file
It’s a Dynamic Link Library
2. It can be reused.
It cannot be reused.
3. It can be versioned.
It cannot be versioned.
4. It is not self-executable.
It is self-executable.
5. It doesn't have main function.
It will have main function.
6. It cannot be run individually.
It can run individually.
7. When a system launches new exe, a new process is created.
The system loads a DLL into the context of an existing thread.
8. Many .dll files may exists in one application.
Only one .exe file exists per application.
9. These are inbound file.
These are outbound file.
10. It can be shared with other applications.
It cannot be shared with other applications.


No comments:

Post a Comment