Usually, I will just use Environment.Exit(code)
to exit an application. (Usually through a button click.) But I would like to know is it the proper way to exit, ie, releasing memory etc etc...
Usually, I will just use Environment.Exit(code)
to exit an application. (Usually through a button click.) But I would like to know is it the proper way to exit, ie, releasing memory etc etc...