When I run my program in VS2010, because my output quite a lot,the console just discards my previous output.
For example, consider my output to be of 400 lines, line
Console.BufferHeight = x; Console.BufferWidth = x;
Sets the height and width of the console buffer.