Using a temporary is normal way, try something new :]
Using + and -:
var a = 5
var b = 6
a = a + b
b = a - b
a = a - b
Using tuple:
var a = 5
var b = 6
(a, b) = (b, a)
Using a temporary is normal way, try something new :]
var a = 5
var b = 6
a = a + b
b = a - b
a = a - b
var a = 5
var b = 6
(a, b) = (b, a)