What is the difference between .EXE and .DLL files?
varun joshi
When any source file has main method then it executes & provides exe file Otherwise dll
.exe file is executable file which is based on abstraction(oops).We can just get the output display of the project. .dll file are used as reference in a project.so that all the public class and methods can be used in the project which uses the .dll file.
EXE It is an executable file, which can be run independently. EXE is an out-process component, which means that it runs in a separate process. It cannot be reused in an application. It has a main function.DLL It is Dynamic Link Library that is used as a part of EXE or other DLLs. It cannot be run independently. It runs in the application process memory, so it is called as in-process component. It can be reused in an application. It does not have a main function.