If you don't know how to make code into an exe file then the code you have is most likely copy and paste shitty public detected code or you are new to the IDE you are using...which I don't think is what is going on here. Anyways On visual studio there is a little run arrow most likely called "Local Windows Debugger" (Top middle of the screen), next to it there is a refresh icon and next to that on the right there is two(2) drop down menus, set the first one closest to the refresh icon to "Release" and the other to "Win32". You should know what to do after that to make it into an exe file.