Hello, please help write the script for the exit button. In C # desirable. And that should be selected in the OnClick

Help me Please!

public void exit(){
Application.Quit();
}