public static void Run() { string[] input = System.IO.File.ReadAllLines("day08.txt"); LCD <bool> lcd = new LCD <bool>(50, 6); lcd.Formatter = val => val ? "#" : "."; lcd.FormatDelimiter = null; AnimateLCD(lcd, input, TimeSpan.FromMilliseconds(2500)); Console.WriteLine(); Console.WriteLine(); int part1 = lcd.Count(val => val); Console.WriteLine("==== Part 1 ===="); Console.WriteLine($"Lit pixels: {part1}"); Console.WriteLine(); Console.WriteLine("==== Part 2 ===="); Console.WriteLine("Read from the LCD above"); }