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

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

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

            demo.GetStringAsync();

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

            Console.ReadLine();
        }