How to swap 2 integers without using a third variable?

int a = 3; int b = 5; Console.WriteLine(“Before Swap”); Console.WriteLine(“a=” + a); Console.WriteLine(“b=” + b);…

How to concat 2 strings without using any inbuilt string functions?

String is a character array.Find the length of the first character array, and find the length…

What is the difference between Managed code and Unmanaged code in .Net?

Managed code Vs Unmanaged code Any code running under CLR(Common Language Runtime)is called Managed code and…