Sunday, March 28, 2010

Semicolon after method or accessor block is not valid

Semicolon after method or accessor block is not valid error is thrown when the semicolon is not appropriately placed.




For example


set { PlayerType = value };


should be


set { PlayerType = value; }


You can post your own examples for helping readers

No comments:

Post a Comment