Why am I getting error "CS0131" I dont understand

This is my code I dont understand please tell me.

 if (Activated = false && CoolDownEnabled = false)
{
  //stuff
}

Hello!

Activated = false && CoolDownEnabled = false

Should be

Activated == false && CoolDownEnabled == false

You are getting this error as you wrote one “=” symbol instead of “==”.

Essentially in an If Cycle you declare on what conditions your code runs, but in this case you didn’t write any conditions but rather declared the variable values that Activated = false and CoolDownEnabled = false.