int position1H = 3;
int position1V = 3;
int position2H = 75;
int position2V = 3;
while (true)
{
Console.SetCursorPosition(position1H, position1V);
Console.BackgroundColor = ConsoleColor.Black;
Console.WriteLine(" ");
System.Threading.Thread.Sleep(1);
Console.SetCursorPosition(position2H, position2V);
}
this is a loop from my code where it keeps refreshing this loop over and over again (the program is a simple game where the user enters up, down, left, right arrows to move a position of the coloured cursor around the screen)
i want it to keep refreshing the console with the loop but also take input from the user without pausing it..
if this is unclear just ask i'll explain in more detail,
but does anyone know a way to take input without pausing for the user to give the input... if you get what i mean?
like they can enter it at anytime while the program keeps looping...