public static void Tester() { Action action = delegate() { PrintToConsole(); }; AsyncTimer doStuff = new AsyncTimer(action, 3, 1000); doStuff.Start(); }
static void Main(string[] args) { startProblems(); nextProblem("You are about to check out Problem 1: InterestCalculator."); InterestCalculator.Test(); nextProblem("\n\n\nYou are about to check the Second Problem : Async Timer"); AsyncTimer.Tester(); //nextProblem("Looks like this was everything."); nextProblem("\n\nNext, you're going to see Problem 3: Student Class"); Student.Tester(); exit(); }