Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Worker work = new Worker();

            work.Start();


            Task.Run(() => work.Start());
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            Worker worker = new Worker();

            worker.Start();
            Console.ReadLine();
        }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            Worker work = new Worker();

            work.Start();
        }