How to set startup object in console application in C#?

后端 未结 1 1740
后悔当初
后悔当初 2021-01-18 23:45

I know this is not tough but still I am facing a problem, I have created one console application Named Console Application, Under this application, there are two class one i

1条回答
  •  清歌不尽
    2021-01-19 00:32

    Maybe you need to:

    1. Compile first (Ctrl+Shift+B)

    2. Use another word instead of Delegate

    3. Try giving your method an args parameter Main(string[] args)

    It works for me:

    0 讨论(0)
提交回复
热议问题