convert this 3 line code to c# ? i cant figure it out?

i need to convert to c form java

I keep getting errors

#pragma strict

function Start () {

}


function Update(){
if (transform.position.y <-5){
GameOver();
}
}

function GameOver()
{
Application.LoadLevel("Menu");
}

using UnityEngine;

public class #YOURFILENAME# : MonoBehaviour
{
    private void Start()
    {

    }

    private void Update()
    {
        if (transform.position.y < -5)
        {
            GameOver();
        }
    }

    private void GameOver()
    {
        Application.LoadLevel("Menu");
    }
}

Don’t forget to replace #YOURFILENAME# with, guess what, the name you gave to your script.

If you are trying to learn C# and already know UnityScript: What are the Syntax Differences in C# and Javascript? - Unity Answers

Also, not that it really matters by now, but “C” and "C#, as “Java” and “JavaScript (which is not really JavaScript, but this is how Unity calls it, while others calls it as UnityScript)” are all different things.