Application Help
There is no specific program these questions are limited too, just general C# questions. I'm very new to C# but do have a good bit of experience in Lua and Python
First question is how do I repeat certain lines of code? Im assuming with a function. I can send the code if needed but basically it asks for an input and gives and answer but after it gives the answer it just says "press any key to close this window" i would like it to be something along the lines of " press (key) to close window or press (key) to re-enter text" i'm sure its fairly easy to do this, i just cant find any help on this specific issue on youtube/google.
Second is how do I turn this code into 1 .exe file? i think its simple to do but im using a nuget packege for the application so it needs a dll and I cant figure out how to compile it into one exe.
third is a minor thing that just kind of bugs me but after it displays the info it brings up some debugging info and shows a directory and I would rather that not be there. the stuff i would rather not be there is circled
im incredibly sorry because looking back at this message its worded kind of hard to understand I feel like. i cant find specific answers to these questions online so i came here. if you need the code let me know. its just a basic geolocator that i saw online was a fairly easy beginner program to make. its made on visual studio 2022.
First question is how do I repeat certain lines of code? Im assuming with a function. I can send the code if needed but basically it asks for an input and gives and answer but after it gives the answer it just says "press any key to close this window" i would like it to be something along the lines of " press (key) to close window or press (key) to re-enter text" i'm sure its fairly easy to do this, i just cant find any help on this specific issue on youtube/google.
Second is how do I turn this code into 1 .exe file? i think its simple to do but im using a nuget packege for the application so it needs a dll and I cant figure out how to compile it into one exe.
third is a minor thing that just kind of bugs me but after it displays the info it brings up some debugging info and shows a directory and I would rather that not be there. the stuff i would rather not be there is circled
im incredibly sorry because looking back at this message its worded kind of hard to understand I feel like. i cant find specific answers to these questions online so i came here. if you need the code let me know. its just a basic geolocator that i saw online was a fairly easy beginner program to make. its made on visual studio 2022.
