C# class without main method

后端 未结 10 580
情话喂你
情话喂你 2021-01-02 02:44

I\'m learning C# and I\'m very new to it, so forgive me for the seemingly stupid question. I have some experience in Java, and I noticed that C# programs also need a m

10条回答
  •  情话喂你
    2021-01-02 03:14

    Only one class with one method should be fine. If you want, you can set up the start up object in visual studio in the settings.

提交回复
热议问题