Turning off renderer in other game object (C#)

Hi, I just took a tutorial on making a flashlight and it’s pretty much done except I want it to disappear when it’s off and appear when it’s turned on. I have pretty much done this too, but since I don’t know much of either scripts except for how they work and I am still learning javascript. I just have one compiler error and it uses terms I don’t know of.

Here is the compiler error.

Assets/Game Project/Scripts/flashlight.cs(20,59): error CS0119: Expression denotes a value', where a method group’ was expected

Here is the script:

using UnityEngine;
using System.Collections;

public class flashlight : MonoBehaviour {
	
	private bool FlashlightOn = false;
	
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if(Input.GetButtonDown("Flashlight") && FlashlightOn == false) {
			FlashlightOn = true;
			light.intensity = 1;
			MeshRenderer otherScript = GetComponent<MeshRenderer>();
			otherScript.renderer.enabled = true();
		}
		
		else if (Input.GetButtonDown("Flashlight") && FlashlightOn == true) {
			FlashlightOn = false;
			light.intensity = 0;
			MeshRenderer otherScript = GetComponent<MeshRenderer>();
			otherScript.renderer.enabled = false();
		}
	}
}

I know that it has to do with these lines (I think)

otherScript.renderer.enabled = false();
otherScript.renderer.enabled = true();

What do I correct?

Get rid of the round brackets after true and false.

at first glance, “true();” should just be “true;”.

similarly “false();” should be “false;” - it’s not a function.

the error message is telling you that…