Answer (Choose 1 answer)
class Program{
static async Task Display(string message){await Task. Delay(2000);Console.WriteLine(message);
} async static Task Main(string[] args) { Display("Hello");Console.WriteLine("Main thread");Console.ReadLine();
}
}
Which one of the following is the output of the above code?
A. Main thread Hello
B. Hello Main thread
C. Compile-time error
D. An exception will be thrown
Exit 13