int playerhealth = 15;
int playerstrength = 25;
int playerluck = 2;
public int enemyhealth;
public int enemystrength;
public int enemyluck;
public int gainedgold;
public int gold;
public int desire = 100;
public int desiretaken;
int level;
................
Properties.Settings.Default.golds = gold; //here's the error
任何人都可以帮我解决这个错误吗?
属性或索引器' Settings.golds'无法分配 - 它是只读的