Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
C# Console BufferWidth Property
Use the BufferWidth gets or sets the width of the buffer area.
Use the property like this −
Console.BufferWidth
Let us see the complete example.
Example
using System;
class Demo {
static void Main() {
Console.WriteLine("Buffer width (columns) = "+Console.BufferWidth);
}
}
Output
Buffer width (columns) = 0
Advertisements
