Q16.webp
red_rose

Q16.webp

  • Media owner red_rose
  • Ngày thêm
Kizspy | Question: 16
(Choose 1 answer)
Which of the following code snippets correctly demonstrates using a discard in C#?
A. var (, lastName) = Tuple.Create("John", "Doe");
Console.WriteLine($"Last Name: {lastName}");
B. var (, lastName) = ("John", "Doe");
Console.WriteLine($"Last Name: (lastName}");
C. var (, lastName) = ("John", "Doe");
Console.WriteLine($"First Name: {}");
D. var (firstName, _)=("John", "Doe");
Console.WriteLine($"Last Name: {}");

Thông tin

Category
PRN212
Thêm bởi
red_rose
Ngày thêm
Lượt xem
2,341
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom