标签: c# .net
当我写入连接到Windows应用程序的控制台时,控制台会等待输入。
AttachConsole(-1); Console.WriteLine("test");
按任意键将使用户返回提示。
为什么会这样?我怎样才能阻止这种情况发生?