About 1,240,000 results
Open links in new tab
  1. Console.SetBufferSize(Int32, Int32) Method (System)

    Set Buffer Size (Int32, Int32) Method. Sets the height and width of the screen buffer area to the specified values. public static void SetBufferSize(int width, int height); The width of the buffer …

  2. How to access the console screen buffer in c# - Stack Overflow

    Jul 10, 2023 · I've been trying to find a way to access and edit the c# console screen buffer for a terminal based text editor, and I would rather not have to "redraw" the screen every time I …

  3. Console.SetBufferSize() Method in C# | GeeksforGeeks

    Mar 14, 2019 · Console.SetBufferSize (Int32, Int32) Method is used to set the height and width of the screen buffer area to the specified values. Syntax: public static void SetBufferSize (int …

  4. Imementing double screen buffer in c# console application

    Aug 3, 2021 · Figure out the width and height of your console buffer via the properties of the Console class. Make a 2D array that stores a char and a color. Instead of "drawing" to the …

  5. Accessing the console buffer? : r/csharp - Reddit

    Nov 20, 2022 · I recently made a small program to draw charts in the command line, and I was wondering if there is a way to acess the console buffer to maybe save it to a .txt or something …

  6. Console Screen Buffers - Windows Console | Microsoft Learn

    Dec 29, 2021 · To open a handle to a console's active screen buffer, specify the CONOUT$ value in a call to the CreateFile function. A process can use the CreateConsoleScreenBuffer function …

  7. Buffer Class (System) | Microsoft Learn

    Console::WriteLine( "Final values of array:\n" ); DisplayArray( arr ); Console::WriteLine( "\nBuffer::GetByte( arr, 26 ): {0}", Buffer::GetByte( arr, 26 ) ); } /* This example of the Buffer …

  8. C# | Changing the size of the consoles buffer below what was …

    Oct 25, 2019 · According to the MSDN documentation of Console.SetBufferSize it is not limited to growing the buffer. However you have to adjust the console window size before shrinking the …

  9. How to use the Buffer class in C# - InfoWorld

    Nov 2, 2020 · This article talks about how we can work with the Buffer class in C#. To work with the code examples provided in this article, you should have Visual Studio 2019 installed in …

  10. C# Console Class - GeeksforGeeks

    Jan 31, 2025 · The Console class in C# provides events used to execute certain programs when some event is triggered such as cancelling an operation or modifying console settings …

  11. Some results have been removed
Refresh