public void Other<T1,T2> (T1 name, T1 adress, T2 age, T2 yearOfBirth)
public void PrintEmployee <T1>(T1 salary, T1 employeeID)
Console.WriteLine("The salary is {0} and employee ID is{1}",salary,employeeID);
public static void Main()
Person myObj=new Person();
myObj.Other<string,int>("SIJO","Kulachirayil",28,1992);
Person myObj1=new Person();
myObj1.PrintEmployee<int>(20000,5);