(Console.BufferHeight) I can't see/scroll to see all the console output with Console.WriteLine

后端 未结 5 853
灰色年华
灰色年华 2020-12-20 14:25

When I run this code, the number at the top of the output window is 99701. Why don\'t I get to see all the way through 1? I actually see all the numbers getting outputted, b

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-20 14:32

    It is the console not your app.

    As an alternative you can use Debug.WriteLine (System.Diagnostics) and use the Output window in Visual Studio. It has a much bigger buffer (just be sure to run a Debug build).

提交回复
热议问题