class Other<T>
{
public class Inner<U, V>
{
static Inner()
{
Console.WriteLine("Other<{0}>.Inner<{1},{2}>", typeof(T).Name, typeof(U).Name, typeof(V).Name);
}
public static void DummyMethod() { }
}
}
class Program
{
static void Main(string[] args)
{
Other<int>.Inner<string, DateTime>.DummyMethod();
Other<string>.Inner<int, int>.DummyMethod();
Other<object>.Inner<string, object>.DummyMethod();
Other<string>.Inner<string, object>.DummyMethod();
Other<object>.Inner<object, string>.DummyMethod();
Other<string>.Inner<int, int>.DummyMethod();
}
}