0

I'm facing the problem to solve this quiz in C#. Please help!! And provide some answer.

static __ Swap ____(ref T a, ref T b) { T temp = a; a = b; b = ___ ; ____ a; } <T> a T return b temp

18th Jul 2019, 3:52 PM
katherine Rapalo
2 odpowiedzi
+ 9
Try this: static int Swap <T> (ref T a, ref T b){ T temp = a; a = b; b = temp; return a; }
18th Jul 2019, 4:02 PM
Zhenis Otarbay
Zhenis Otarbay - avatar