What is the code for an exit button to close an application?

Regards