Ejemplo n.º 1
0
        public void MainMethodWithoutAwait()
        {
            Console.WriteLine("Main method without await Start");

            SecondThread  secondThread = new SecondThread();
            Task <string> taskOne      = secondThread.SecondMethodWithouAwait();

            Console.WriteLine(taskOne.Result);

            Console.WriteLine("Main method without await End");
        }