PlayerPrefs not working ?? c#

Okay so -

playerStrength = Random.Range (1, 6);
PlayerPrefs.SetInt ("strength", playerStrength);


In a seperate script in the same project/different scene.


does not work.

It says Parser Error, '(, is wrong.

Also then when I put

Shamwow = PlayerPrefs.GetInt("strength"); 

it tells me that = isn’t allowed.
Quite confused as this is the same as the example here;

and here

did you remember to SAVE the prefs after setting the int?
any way, like @orb said, it does look like typo somewhere in the script…