Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Rander RanderThe

🏠
Working from home
View GitHub Profile
@RanderThe
RanderThe / Program.cs
Created Mar 14, 2019 — forked from DanielSWolf/Program.cs
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
View Program.cs
using System;
using System.Threading;
static class Program {
static void Main() {
Console.Write("Performing some task... ");
using (var progress = new ProgressBar()) {
for (int i = 0; i <= 100; i++) {
progress.Report((double) i / 100);