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

Explore post tags


Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, bool given in C:\inetpub\vhosts\debugonweb.com\httpdocs\wp-includes\wp-db.php on line 3353