No, it will not overflow. If you check the Options tab for a shortcut in the command window, you will see a buffer size option. This indicates the maximum number of rows to be saved. Old ones are deleted.
As Scott points out in his comment below, you can access this parameter from your code using Console.BufferHeight
. The default value for this (when I tested on my development PC) is 300 . The maximum allowable value is 32766 ( Int16.MaxValue - 1
).
source share