namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int a = 10, b = 20;
Console.WriteLine("before Swaping value of a="+" " + a + " and b="+" " + b);
Console.WriteLine();
a = a + b;
b = a - b;
a = a - b;
Console.WriteLine("after Swaping value of a=" + " " + a + " and b=" + " " + b);
Console.ReadLine();
}
}
}This code describe how to Swap value of two variable without using inbuilt function and third variable.
