PRN211_-_SU_2024_-_FE_2375.webp
V

PRN211_-_SU_2024_-_FE_2375.webp

Kizspy | Question: 29
(Choose 1 answer)
delegate void D1();
class Program
{
static void Print() {
Console.Write("A");
}
static void Show()
{
Console.Write("B");
}
static void Main(string[] args)
{
D1 d = new D1(Print);
d += new D1 (Show);
d();
}
}
The output will be:
A. AB
B. BA
C. A
D. B

Thông tin

Category
PRN211
Thêm bởi
Việt Hoàng1
Ngày thêm
Lượt xem
811
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom