static void PrintNumbers(object state)
        {
            Printer task = (Printer)state;

            Console.WriteLine(task.createdDateTime);
            task.PrintNumbers();
        }
Example #2
0
        static void PrintTheNumbers(object state)
        {
            Printer task = state as Printer;

            task.PrintNumbers();
        }
Example #3
0
        static void PrintTheNumbers(object state)
        {
            Printer task = (Printer)state;

            task.PrintNumbers();
        }