We often lose the source code of the executables we build. If we have the executable with us, we can still retrieve the code using tools such as ILSpy.
You can download ILSpy. After you download, just use the File menu and choose the "Open" command and browse for the .exe file. Once it is decompiled, you can generate the entire code by pressing the "Ctrl" and "S" key.