(Choose 1 answer)
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:
A. 20,10
B. 10,10
C. 20,20
D. 10,20
Exit 19