Merge pull request #487 from mayerwin/patch-1
[mono.git] / mcs / tests / gtest-459.cs
1 using System;
2
3 namespace GenericTest
4 {
5         public class OuterGeneric<T>
6         {
7                 public class InnerGeneric<U>
8                 {
9                         public static string GetTypeNames ()
10                         {
11                                 return typeof (T).ToString () + " " + typeof (U).ToString ();
12                         }
13                 }
14         }
15
16         class Program
17         {
18                 public static int Main ()
19                 {
20                         string typeNames = OuterGeneric<int>.InnerGeneric<long>.GetTypeNames ();
21                         Console.WriteLine (typeNames);
22                         return 0;
23                 }
24         }
25 }