Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
C# Console BufferHeight Property
Use the BufferHeight gets or sets the height of the buffer area.
Use the property like this −
Console.BufferHeight
Let us see the complete example.
Example
using System;
class Demo {
static void Main() {
Console.WriteLine("Buffer height (rows) = "+Console.BufferHeight);
}
}
Output
Buffer height (rows) = 0
Advertisements