Set console: title, window size, buffer height and width, cursor position
using System;
public class Test{
static void Main(string[] args){
// Change the Console appearance and redisplay.
Console.Title = "Resized Console";
Console.ResetColor();
Console.Clear();
Console.SetWindowSize(100, 50);
Console.BufferHeight = 500;
Console.BufferWidth = 100;
Console.CursorLeft = 20;
Console.CursorSize = 50;
Console.CursorTop = 20;
Console.CursorVisible = false;
Console.WriteLine("Main method complete. Press Enter.");
Console.ReadLine();
}
}
Related examples in the same category