
- C# Basic Tutorial
- C# - Home
- C# - Overview
- C# - Environment
- C# - Program Structure
- C# - Basic Syntax
- C# - Data Types
- C# - Type Conversion
- C# - Variables
- C# - Constants
- C# - Operators
- C# - Decision Making
- C# - Loops
- C# - Encapsulation
- C# - Methods
- C# - Nullables
- C# - Arrays
- C# - Strings
- C# - Structure
- C# - Enums
- C# - Classes
- C# - Inheritance
- C# - Polymorphism
- C# - Operator Overloading
- C# - Interfaces
- C# - Namespaces
- C# - Preprocessor Directives
- C# - Regular Expressions
- C# - Exception Handling
- C# - File I/O
- C# Advanced Tutorial
- C# - Attributes
- C# - Reflection
- C# - Properties
- C# - Indexers
- C# - Delegates
- C# - Events
- C# - Collections
- C# - Generics
- C# - Anonymous Methods
- C# - Unsafe Codes
- C# - Multithreading
- C# Useful Resources
- C# - Questions and Answers
- C# - Quick Guide
- C# - Useful Resources
- C# - Discussion
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
- Related Articles
- How to change BufferWidth of the Console in C#?
- C# Console BufferHeight Property
- Console Class in C#
- How to clear console in C?
- JavaScript Adding array name property to JSON object [ES5] and display in Console?
- How can I clear console using C++?
- Way to read input from console in C#
- How to stop C++ console application from exiting immediately?
- How to play Beep sound through Console in C#?
- How to change BufferHeight of the Console in C#?
- How to use ReadKey() method of Console class in C#?
- How to use WriteLine() method of Console class in C#?
- How to read a line from the console in C#?
- How to print a line on the console using C#?
- How to change the CursorLeft of the Console in C#?

Advertisements