flickering light

I don’t know what is wrong. Please help.
Here is my code:

FlickeringLights.enabled = false;

Here is the error:

Unexpected symbol `=’ in class, struct, or interface member declaration

My guess: FlickeringLights is an array of Objects you got by FindObjectsWithTag. Now you WANT to set every object in the Array .enabled=false. What you actually do is set the Array itself .enabled = false. That’s probably not allowed.

for ( var light in FlickeringLights) {light.enabled = false}

Next time, please explain better what you want to do.
Also, it’s good practice to let variables start lower-case. If you start them upper-case, people will think they are functions or classes and get confused.