C# Console BufferWidth
Description
Console BufferWidth
gets or sets the width of the buffer
area.
Syntax
Console.BufferWidth
has the following syntax.
public static int BufferWidth { get; set; }
Example
This example demonstrates the BufferHeight and BufferWidth properties.
/* w w w. j ava2 s . co m*/
using System;
class Sample
{
public static void Main()
{
Console.WriteLine("The current buffer height is {0} rows.",
Console.BufferHeight);
Console.WriteLine("The current buffer width is {0} columns.",
Console.BufferWidth);
}
}