the new console window size would force the console buffer size to be too large code example

the new console window size would force the console buffer size to be too large

1

1 Example

0
// C# program to demonstrate
// the  SetBufferSize Method
using System;
using System.Text;
using System.IO;
  
class GFG {
  
    // Main Method
    public static void Main()
    {
  
        // using the method
        Console.SetBufferSize(800, 800);
        Console.WriteLine("Start");
        while (true) 
        {
            Console.WriteLine("Great Geek's Example!!!");
        }
    } // end Main
}
by on

Other Code Examples