int number1 = 10; int number2 = 5;
Console.WriteLine("number1:"+number1+",number2:"+number2);
int temp;
temp = number1;
number1 = number2;
number2 = temp;
Console.WriteLine("number1:"+number1+",number2:"+number2);
Console.ReadKey();
int number1 = 10; int number2 = 5;
Console.WriteLine("number1:"+number1+",number2:"+number2);
int temp;
temp = number1;
number1 = number2;
number2 = temp;
Console.WriteLine("number1:"+number1+",number2:"+number2);
Console.ReadKey();