Console.Write Not Working In Win Forms App

前端 未结 7 1213
走了就别回头了
走了就别回头了 2021-01-12 05:08

I created a VB.NET Windows Forms Application in Visual Studio 2008. When I run my program from the command-line, I get no output (only the next prompt).

What am I d

7条回答
  •  无人共我
    2021-01-12 05:13

    You can run your app from the console using myApp.exe|MORE
    This way the console will show Console.WriteLine() calls coming from the app and will wait until the app exits.
    Please excuse my bad english.

提交回复
热议问题