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

后端 未结 5 858
灰色年华
灰色年华 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条回答
  •  旧时难觅i
    2020-12-20 14:44

    300 seems to be your default console buffer size. This is a Windows setting and it is not related to your application.

    You can change the console buffer size by creating a shortcut to the executable. Then right click on the shortcut and select Properties. Go in the Options tab and change the buffer size.

    Seem that I didn't check that feature in a long time, but it seem to be modifiable now. See Alfred Myers answer

提交回复
热议问题