NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Using Fully Qualified Names

Namespaces and types have unique names, which are described by fully qualified names that indicate a logical hierarchy. For example, A.B is the name of the namespace or type B nested in the namespace or type A.

In the following code segment, there are nested classes and namespaces. The fully qualified name is indicated as a comment following each entity.

namespace N1 {         // N1
   class C1 {          // N1.C1
      class C2 {}      // N1.C1.C2
   }
   namespace N2 {      // N1.N2
      class C2 {}      // N1.N2.C2
   }
}

In the preceding code segment:

Using the preceding code segment, you can add a new class member C3 to the namespace N1.N2 as follows:

namespace N1.N2 {
   class C3 {}        // N1.N2.C3
}

For more information on namespaces, see Namespaces.

See Also

C# Language Tour