What am i doing wrong

Hello this is my first post here so please forgive me if i make any mistakes. I keep getting this error

CS0201 C# Only assignment, call, increment, decrement, and new object expressions can be used as a statement

here is my code

using UnityEngine;

public class PlayerCollisons : MonoBehaviour {
    public Playermovement movement;
    public Gamemanager gameManager;
    void OnCollisionEnter(Collision collisionInfo)
    {
        if (collisionInfo.collider.tag == "Obstacle") 
        { 
           movement.enabled = false;
            FindObjectOfType<Gamemanager>().EndGame;
        }
         
    }


}

instead of

FindObjectOfType().EndGame

try

FindObjectOfType().EndGame()

also,

collisionInfo.collider.tag == "Obstacle" can be shortened to

collisionInfo.tag == "Obstacle"