using System;
using System.Collections.Generic;
using System.Collections;
class a<T>
{
public void test<T>(T op1, T op2)
{
Console.Write("op1:"+op1.GetType()+"\top2:"+op2.GetType());
Console.ReadLine();
}
}
class b
{
public static void Main()
{
a<string> A = new a<string>();
A.test<string>("","Hello world!");
}
}
using System;
using System.Collections.Generic;
using System.Collections;
class a
{
public void test<T>(T op1, T op2)
{
Console.Write("op1:"+op1.GetType()+"\top2:"+op2.GetType());
Console.ReadLine();
}
}
class b
{
public static void Main()
{
a A = new a();
A.test<int>(1,1);
}
}