3 public class Context
<U
>
5 public delegate void D (T instance
);
6 public delegate void D2
<V
> ();
9 public class Constructor
13 public static void Test
<U
> (Context
<U
>.D d
)
15 var c
= new Constructor ();
19 public static void Test
<U
, V
> (Context
<U
>.D2
<V
> d
)
21 var c
= new Constructor ();
26 public void Before
<U
> (Context
<U
>.D d
)
30 public void Before
<U
, V
> (Context
<U
>.D2
<V
> d
)
38 public static int Main ()
40 A
<int>.Context
<bool>.D d
= null;
41 A
<int>.Constructor
.Nested
.Test (d
);
43 A
<int>.Context
<bool>.D2
<string> d2
= null;
44 A
<int>.Constructor
.Nested
.Test (d2
);