Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 10 Basic conceptsprevious at this levelnext at this level 10.8 Namespace and type namesprevious at this levelnext at this level 10.8.1 Fully qualified names Paragraph 11 Every namespace and type has a fully qualified name, which uniquely identifies the namespace or type amongst all others. 2 The fully qualified name of a namespace or type N is determined as follows: Paragraph 21 In other words, the fully qualified name of N is the complete hierarchical path of identifiers that lead to N, starting from the global namespace. 2 Because every member of a namespace or type must have a unique name, it follows that the fully qualified name of a namespace or type is always unique. [Example: The example below shows several namespace and type declarations along with their associated fully qualified names.
class A {}        // A  
namespace X       // X  
{  
   class B        // X.B  
   {  
      class C {}   // X.B.C  
   }  
   namespace Y   // X.Y  
   {  
      class D {}   // X.Y.D  
   }  
}  
namespace X.Y    // X.Y  
{  
   class E {}    // X.Y.E  
}  
end example]
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS