Q44.webp
red_rose

Q44.webp

  • Media owner red_rose
  • Ngày thêm
Kizspy | Question: 44
(Choose 1 answer)
Which code snippet demonstrates the use of the List<T> collection?
A. List<int> numbers = new List<int> {1, 2, 3, 4};
foreach (int number in numbers)
Console.WriteLine(number);
B. List numbers = {1, 2, 3, 4};
foreach (number in numbers)
Console.WriteLine(number);
C. List<string> numbers = new List {1, 2, 3, 4};
foreach (int number in numbers)
Console.WriteLine(number);
D. List<int> numbers List<int>;

Thông tin

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

Share this media

Back
Bên trên Bottom