✅ telling a console app to exit
how do i tell a console app to stop and close the window?
4 Replies
ideally you
return;
from main, but sometimes tahts hard. so then you Environment.Exit()
yeah i tried
Enviroment.Exit()
but it just stops it, the window doesnt close and my pc fans start going insane like theres some loop that puts stress on my pcthats... weird
ok i fixed the first issue but how do i make it close the window