static void Main(string[] args) { LCDDigits digitDisplay = new LCDDigits(); Random ran = new Random(); while (!Console.KeyAvailable) { long input = NextLong(ran, 1000000000000000000, long.MaxValue); Console.WriteLine(digitDisplay.GetDigits(input)); System.Threading.Thread.Sleep(125); } Console.ReadKey(); }
string GetDigits(long input) { return(digitDisplay.GetDigits(input)); }