How do you code outside main method in c#?

前端 未结 0 1032
遥遥无期
遥遥无期 2021-02-02 15:48

I have tried the code below but i\'m getting an error everytime i try to type hello world outside the main method

public class Program
{
    Console.WriteLine(&qu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题