PRN221_-_FE_-_SU_2023_506.webp
K

PRN221_-_FE_-_SU_2023_506.webp

Answer (Choose 1 answer)

class Program{
static void Show(string message){Console.Write(message);
}
async static Task Main(string[] args) {
Task[] arr = { Task.Run(()=>Show("A")),Task.Run(()=>Show("B"))"
};await Task. WhenAll(arr);
Console.ReadLine();
}
}
Which one of the following is the output of the above code?
A. Results are unpredictable
B. AB
C. BA
D. An exception will be thrown
Exit 39

Thông tin

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

Image metadata

Filename
PRN221_-_FE_-_SU_2023_506.webp
File size
67.3 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom