How to close game?

I made my first executable file of the Ufo2D tutorial project.
I am running the game, and it works!

Then is saw that i couldnt close the game. I tried escape and other function keys.
So i had to go to task manager with ctrl alt del keys to close it.

There should be another more easy way … Anyone knows how to do it?

Try to add this into your Update function:

void Update() {
        if (Input.GetKey("escape"))

Thanks for the suggestion. It works!