A

Admin • 828.03K Points
Coach

Q. What will be the output?

Code:
async Task Test()
{
await Task.Delay(1000);
Console.WriteLine("Done");
}
  • (A) Compilation error
  • (B) Done
  • (C) Nothing
  • (D) Runtime error

Explanation by: Admin
After delay completes, 'Done' is printed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.