CS0119 C# is a method, which is not valid in the given context plz help me

i dont know why its not working it supposible works for otehr people

using UnityEngine;
using System.Collections;

public class animationplaygunfire : MonoBehaviour {

    // Use this for initialization
    void Start () {

    }
    // Update is called once per frame
    void Update()
    {
        if (Input.GetKeyDown("e"))
        {
            GetComponent<ak47fireing>.play(true);
        }
    }
}

ak47fireing is an animation

I assume you are using an animator, and “ak47fireing” is a state in your animator.

In which case it should be:

GetComponent<Animator>().Play("ak47fireing");