这不是通常的情况，但是如果您在那之前做错了特定的事情，那将是正常的。显然有很多地方是错误的。您可能是从Internet复制并粘贴了一些垃圾，可能没有做过之前期望的某些事情，或者只是继续写作"code" despite the compiler flagging issues with it. Maybe go back to when you had 码 that worked, start making changes to it one by one 和 stop when an error is flagged. We can then address that error 和 probably stop you getting loads 更多 for the same reason.
I'd prefer to see the 码file myself than a screenshot of it. If there are reports of squiggles, then we know it's obviously something wrong with 码 structure. I can work that part out for myself without any screenshot. Anyway, I was thinking the same thing, that the 码 is dumped outside of a method, or class or there is some un-closed tag as pointed out above.
I suspected that the 码 was in the wrong place at first but the fact that Console.WriteLine is not underlined suggests that that is not the case. I think it's just that there's so much garbage in there. There's enough there to get the gist of what it should be though.
Console.WriteLine("How many hours do you work?");
hours = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("What is your rate of pay (per hour)?");
payRate = Convert.ToInt32(Console.ReadLine());
total = payRate * hours;
That's a start. There's a whole lot of other garbage there, including blocks without braces, lines without semicolons, undeclared variables, incorrect logic, etc. There's 更多 work to be done but I think the main problem here is just a fundamental lack of understanding of how to write C＃ 码. Someone needs to go back 和 learn the basics.