Skip to content

Instantly share code, notes, and snippets.

View ArisAgnew's full-sized avatar
:electron:
You gotta do what you gotta do

Εὐγενής Αναγνωστόπουλος ArisAgnew

:electron:
You gotta do what you gotta do
  • Europe
View GitHub Profile
@ArisAgnew
ArisAgnew / Program.cs
Created November 27, 2021 13:27 — 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);