Is it possible in C# to output to console (but not stderr) even if the entire command output is redirected to a file?

后端 未结 0 525
春和景丽
春和景丽 2021-02-14 05:06

I want to be able to force some output on the console, even if the app is invoked with the output redirection. I specifically do not want to use stderr.

Is it possible?

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