(Choose 1 answer)
FUOVERFLO.COM
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;
COM
} 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:
A. 20,10
B. 10,10
C. 20,20
FLOVERFLOW.COM
D. 10,20
1