कंसोल का BufferWidth बदलने के लिए Console.BufferWidth प्रॉपर्टी का उपयोग करें।
उदाहरण
आइए अब एक उदाहरण देखते हैं:
using System;
class Demo {
public static void Main (string[] args){
Console.BufferHeight = 200;
Console.WriteLine("बफर हाइट = " + Console.BufferHeight);
Console.BufferHeight = 250;
Console.WriteLine("बफर विड्थ = " + Console.BufferWidth);
}
}
आउटपुट
यह निम्नलिखित आउटपुट देगा:
बफर हाइट = 200 बफर विड्थ = 200