I'm using this approach to redirect the console output in C#. The problem is, it doesn't flush when I set a breakpoint in debug mode.
Sol 1, sol 2 and sol 3 are too complicated. I don't want to use the process class. Is there any simple way to flush the output in C#?
Or, since I'm using VS2013 for debugging, does anyone know if there is a flush
button in VS2013 to flush the output?