PRN211_-_REB5_-_FA_2023_1324.webp
B

PRN211_-_REB5_-_FA_2023_1324.webp

(Choose 1 answer)
static void Swap<T>(ref T a, ref T b) {
T temp;
Consider the following pieces of code:
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);

Exit 13

Thông tin

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

Image metadata

Filename
PRN211_-_REB5_-_FA_2023_1324.webp
File size
51.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom