// Swapping value between two integer without using temp variable.
int a = 5;
int b = 7;
Console.WriteLine("Before Swap.");
Console.WriteLine("value of A is: {0}", a);
Console.WriteLine("value of B is: {0}", b);
Console.ReadLine();
O/P: Before Swap. value of A is: 5 value of A is: 7
After Swap. value of A is: 7 value of A is: 5
So how can you swap two integer value without using temp variable?