The ProgressBar control allows you to create a visual progress indicator in the console.
ProgressBar
Value
MaxValue
X
Y
ForegroundColor
BackgroundColor
FillCharacter
EmptyCharacter
BarWidth
ProgressBar progressBar = new ProgressBar { X = 10, Y = 5, MaxValue = 100, Value = 50, ForegroundColor = ConsoleColor.Green, BackgroundColor = ConsoleColor.DarkGray, BarWidth = 20 }; progressBar.Redraw();
The Redraw method is automatically run when the ProgressBar.Value property is changed
Redraw
ProgressBar.Value
There was an error while loading. Please reload this page.