Answers for "c# cursor in console"

C#
3

c# change cursor

// Set cursor as hourglass
Cursor.Current = Cursors.WaitCursor;

// Execute your time-intensive hashing code here...

// Set cursor as default arrow
Cursor.Current = Cursors.Default;
Posted by: Guest on March-29-2020
1

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