PRN221_-_SU_2024_-_FE_2416.webp
H

PRN221_-_SU_2024_-_FE_2416.webp

Kizspy | Question: 28 (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
FUOV

Thông tin

Category
PRN221
Thêm bởi
Hạnh Phúc
Ngày thêm
Lượt xem
1,353
Lượt bình luận
6
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom