static void Main(string[] args)
        {
            var demo = new AsyncDemo();
            demo.GetStringAsync();

            while (demo.IsLoading)
            {
                Console.WriteLine("Async is Amazing no?!!!");
            }

            Console.ReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var demo = new AsyncDemo();

            demo.GetStringAsync();

            while (demo.IsLoading)
            {
                Console.WriteLine("Async is Amazing no?!!!");
            }

            Console.ReadLine();
        }