Answers for "c# cursor position property"

C#
0

c# set cursor pos

use System.Runtime.InteropServices;

[DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y);
Posted by: Guest on August-08-2021
0

cursor position c#

int maxKolom = Console.WindowWidth - 1;
for (int i = 0; i < 10; i++) {
    Console.SetCursorPosition(i, i);
	Console.Write("\\");
    Console.SetCursorPosition(maxKolom - i, i);
	Console.Write("/");
}
Posted by: Guest on January-05-2021

C# Answers by Framework

Browse Popular Code Answers by Language