using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
String t1= "temp1";
String t2= "temp2";
Swap(ref t1, ref t2);
Console.WriteLine(t1+t2);
int t3 = 4;
int t4 = 5;
Swap(ref t3, ref t4);
Console.WriteLine(t3+t4);
}
static void Swap<T>(ref T a,ref T b){
T temp = a;
a=b;
b=temp;