Particle System Scripting help

I’m scripting a scene in Unity where on exiting a trigger a particle system will activate. The problem is that in my script I use “particleSystem.Play = true;” (this is C#)which is what I’m told to use in the Script Reference, however I am given this error:

error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer

I don’t understand what it’s telling me can someone explain this and tell me how to fix this? I’m using Particle System not Particle Emitter on my object.

I think you have to do this:

particleSystem.Play();

The error you get basically says that particleSystem.Play is not a variable but rather a function.