Q:

Reflection and Subclass

I have code
public static class A {
    public static class B { }
    public static class C { }
}

Am I using the reflection class A to find out what it contains subclasses? How to find out the subclasses?

A:

Which are not called subclasses but nested classes. Have a look at Type.GetNestedTypes method; it's easy to do. 
var nestedTypes=typeof(A).GetNestedTypes(); 

