using System; using A = Test; public class Foo { public class Bar { } } namespace Test { class FooEx {} } class X { public static void Main () { Console.WriteLine (typeof (Foo<>)); Console.WriteLine (typeof (Foo<>.Bar<>)); Console.WriteLine (typeof (Test.FooEx<,>)); Console.WriteLine (typeof (A::FooEx<,>)); } }