C#, absolute beginner getting CS1513 C# } expected error

前端 未结 5 706
深忆病人
深忆病人 2021-01-29 08:52

This is my very first day of programming without having any programming background. I was trying the below code. Please click the below link for the screenshot.

CS1513

5条回答
  •  时光说笑
    2021-01-29 09:42

    I had the same error, after investigating my code, I noted at the end of my script, I had a " {} " which had no use (essentially), so after I had removed that, my code passed.

提交回复
热议问题