C# program to swap two numbers without using temporary variable
Filed under:
C#
Here you will find an algorithm and program in C# programming language to swap 2 numbers without using any third or temporary variable.Swapping two number : Swap two numbers means exchange the values of two variables with each other. Suppose we are given 2 numbers num1 = 10 and num2 = 20 and we have