5 public int Test (T t, U u)
10 public int Test (int t, U u)
15 public int Test (T t, float u)
20 public int Test (int t, float u)
30 Foo<long,float> a = new Foo<long,float> ();
31 if (a.Test (3L, 3.14F) != 3)
33 if (a.Test (3L, 8) != 3)
35 if (a.Test (3, 3.14F) != 4)
37 if (a.Test (3, 8) != 4)
40 Foo<long,double> b = new Foo<long,double> ();
41 if (b.Test (3L, 3.14F) != 3)
43 if (b.Test (3, 3.14F) != 4)
45 if (b.Test (3L, 3.14F) != 3)
47 if (b.Test (3L, 5) != 3)
50 Foo<string,float> c = new Foo<string,float> ();
51 if (c.Test ("Hello", 3.14F) != 3)
54 Foo<int,string> d = new Foo<int,string> ();
55 if (d.Test (3, "Hello") != 2)