PRN221_-_SP_2023_-_FE_153.webp
hirosi212

PRN221_-_SP_2023_-_FE_153.webp

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

Thông tin

Category
PRN221
Thêm bởi
hirosi212
Ngày thêm
Lượt xem
1,691
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom