using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication13
{
class Program
{
static void Main(string[] args)
{
st<string> obj = new st<string>();
st<int> ob = new st<int>();
obj.swap("megha", "meesha");
ob.swap(10,20);
Console.ReadLine();
}
public class st<p>
{
public void swap(p x, p y)
{
p temp;
temp = x;
x = y;
y = temp;
Console.WriteLine("X is :" + x + " y is:" + y);
}
}
}
}