Skip to content

Instantly share code, notes, and snippets.

View Yearmix's full-sized avatar
💭
hosted with ❤ by GitHub

Alexey Pokrowskiy Yearmix

💭
hosted with ❤ by GitHub
  • USA
View GitHub Profile
@Yearmix
Yearmix / Program.cs
Created February 18, 2022 11:45 — 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);