how to change scenes with button press in unity csharp

Code Example - how to change scenes with button press in unity csharp

                
                        using UnityEngine;
using UnityEngine.SceneManagement;

public class whatever : MonoBehaviour	

public void LoadScene(string SceneName)
{
  SceneManager.LoadScene(SceneName);
}