Esempio n. 1
0
        static void Main(string[] args)
        {
            Biryani biryani = new Biryani();

            biryani.GetBiryani();


            Console.ReadLine();
        }
Esempio n. 2
0
        public void GetBiryani()
        {
            Console.WriteLine("--------------Sync Process ---------------");
            Biryani biryani = new Biryani();

            biryani.CookBiryani();

            Console.WriteLine("--------------Async Await Process---------------");


            // var result=biryani.CookBiryaniAsync();
            //await result;
            Console.WriteLine("--------------Completed---------------");

            Console.ReadLine();
        }