Set console
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();
}
}
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
|