Skip to content

Instantly share code, notes, and snippets.

View MrAlbino's full-sized avatar
🏠
Working from home

Ayberk KÖSE MrAlbino

🏠
Working from home
View GitHub Profile
@DanielSWolf
DanielSWolf / Program.cs
Last active May 30, 2024 23:08
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);