Ejemplo n.º 1
0
        public static void Tester()
        {
            Action     action  = delegate() { PrintToConsole(); };
            AsyncTimer doStuff = new AsyncTimer(action, 3, 1000);

            doStuff.Start();
        }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
 public static void Tester()
 {
     Action action = delegate() { PrintToConsole(); };
     AsyncTimer doStuff = new AsyncTimer(action, 3, 1000);
     doStuff.Start();
 }