How to Set the Console Height and Width


If you are displaying Console window and you want to change the window height and width you can use WindowWidth and WindowHeight properties as shown below:

Console.WindowWidth = 70;
Console.WindowHeight = 30; 

 

 

About author


User avatar

Waqas Anwar

Founder of EzzyLearning.com, Senior Consultant, Microsoft .NET and Web Technologies

Comments