Anything declared within a type is a member of that type, although a nested type is a little different to other members. If one type is nested inside another type then the outer type acts as a namespace, and types are members of their namespaces.