Today I am going to write a C# program to Swap two numbers without using third variable.

C# Program to Swap two numbers without using third variable:

Create a Console Application Project and write the following code.

Output:

Swap two numbers without using third varibale

View More:

Conclusion:

Hope you understand how to swap two number without using the third variable