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

前端 未结 5 831
深忆病人
深忆病人 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:27

    As a fellow beginner, it's important to see these kinds of errors being dealt with here. The fact that it's a ; problem and NOT a } problem as the compiler intimates is vital for novices. I've been looking at a similar thing all morning trying to move sections that I thought were in the wrong place, and it turns out it'll probably be a simple syntax mistake somewhere. The compiler error code in this instance was misleading.

提交回复
热议问题