İf, else if, else scripting basics

Hello,

I am experimenting with else if and else lines in my controller script, can anyone point me in right direction in this code.

if get axis is bigger than 0.3 go one direction,else if lower than -0.3 go other direction none of the above stop is what i try to do.

Assets/scripts/Control2.cs(35,35): error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement

using UnityEngine;
using System.Collections;

public class Control2 : MonoBehaviour {


	public Transform hedef;
	public Transform baslama;

	NavMeshAgent agent;
	public float x;


	// Use this for initialization
	void Start () {
		agent = GetComponent<NavMeshAgent>();
	}
	
	// Update is called once per frame
	void Update () {

		if (Input.GetAxis("Horizontal")> 0.3f)
		{
			agent.SetDestination (hedef.position);

		}

		else if(Input.GetAxis("Horizontal")< -0.3f)
		{
			agent.SetDestination(baslama.position);
		}

		else
		{
			agent.Stop;
		}

}
}

may be it is not something about if else if, try replacingagent.Stop; with agent.Stop();