Skip to content

Instantly share code, notes, and snippets.

View RJHorne's full-sized avatar
💭
I may be slow to respond.

Robert Horne RJHorne

💭
I may be slow to respond.
View GitHub Profile
@RJHorne
RJHorne / Program.cs
Created August 24, 2018 20:09 — forked from DanielSWolf/Program.cs
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
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);