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
2 Réponses
+ 9
Try this:
static int Swap <T> (ref T a, ref T b){
T temp = a;
a = b;
b = temp;
return a;
}