I'm trying to modify a variable in the console automatically without modifying the rest of the text. To do this I've already tried to make an infinite loop that erases the console and notices all the lines but it creates a fluidity problem so I'm looking for a way to modify only the variables without touching the rest of the console.
int total = 10000;
int remaining = remaining - total;
Console.WriteLine("Remaining : " + remaining"); <---- Here I want to modify the remaining variable without having to clear the console