When compiling visual studio c# applications PE and EXE files will generate.
So what main difference between PE and EXE file?
As i know PE file contains
Portable Executables (PE) are files that contain all the necessary information for the operating system to correctly load executable code (.exe, .dll, ...)
Executables (.exe), however, are the files that denote the main execution point on a computer program, that is, speaking in C# terms, the file that contains the Main function or entry point.