5 public class OuterGeneric
<T
>
7 public class InnerGeneric
<U
>
9 public static string GetTypeNames ()
11 return typeof (T
).ToString () + " " + typeof (U
).ToString ();
18 public static int Main ()
20 string typeNames
= OuterGeneric
<int>.InnerGeneric
<long>.GetTypeNames ();
21 Console
.WriteLine (typeNames
);