Unexpected symbol "void" error

using UnityEngine;
using System.Collections;

public class PlayerController2D : MonoBehaviour
{

Rigidbody2D rb2d;

    void Start()
{
    rb2d = GetComponent<Rigidbody2D>();
}

    var MoveSpeed = 0.5

    void Update () {

    if (Input.GetKey(KeyCode.UpArrow))
        {

        transform.Translate(Vector3, MoveSpeed, 0, 0);

        }
    }

}

var MoveSpeed = 0.5 line misses a semicolon.