1 // Type inference when creating delegates
5 delegate int D (string s, int i);
11 public static T F<T> (string s, T t)
16 public static T G<T> ()
18 throw new ArgumentException ();
21 public static void Main ()
23 D d1 = new D (F<int>);
26 E e1 = new E (G<int>);