2
(Choose 1 answer)
A. 10,10
B. 10,20
C. 20,10
D. 20,20
}
static (int x, int y) GetValue(int a, int b){
int x, int y) result = (0,0);
( a+= b;
b=a-b;
a = b;
result.x = a;
result.y = b;
return result;
static void Main(string[] args)
{
int a = 10, b = 20;
var r = GetValue(a, b);
Console.WriteLine("{r.x}, {r.y}");
} The output will be:
w
Finish