Tutorial :What is the sense of Application.Exit method?



Question:

I'm asking this question, because I can't figure out when I could find an use of this method.

If I've designed everything correctly then I should be able by the medium of normal returns and try catch clauses to handle all problems and end the application in a correct manner.

Am I wrong ?


Solution:1

Where would you return from though? The point is to shut down the Windows Forms UI, that's all. It's simpler than trying to work out every form which is open and close it - which is what you'd normally have to do, I believe.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »