3
Answers

Async and Await in C#

Hi,
    I am using Async and await to call 2 methods at a time in main method.It is executing fine.
 
But in method one value is greater then method 2.So one method 2 completes..Execution comes out of loop.
 
static void Main()
{
    Method1();  1 Lakh records (Async and await used on method 1)
   Method2();    50 Thousands records
 
 
Thanks
Amit 
Answers (3)