PRN211_-_FE_-_SU_2023_441.webp
D

PRN211_-_FE_-_SU_2023_441.webp

  • Media owner Dagon99
  • Ngày thêm
(Choose 1 answer)
Consider the following pieces of code:
static void Swap<T>(ref Ta, ref T b) {
T temp;
temp= a;
a = b;
b = temp;
} Which of the following statements is valid to invoke the Swap() method?
A. int a = 3, b = 4;
Swap(ref a, ref b);
B. string a = "3", b = "4";
Swap <string> (out a, ref b);
C. string a = "3", b = "4";
Swap(ref a, b);
D. int a = 3, b = 4;
Swap<int>(out a, ref b);

Thông tin

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

Image metadata

Filename
PRN211_-_FE_-_SU_2023_441.webp
File size
44.4 KB
Dimensions
1286px x 546px

Share this media

Back
Bên trên Bottom