Syntax Namespace name component types End Namespace name (required) The name of the namespace, either a single namespace component or a hierarchy section of namespaces, as in SomeCompany.SomeApplication component types (required) The elements that are being declared as part of the namespace, including enumerations, structures, interfaces, classes, delegates, modules, and other nested namespaces Description The Namespace statement declares a namespace and specifies the items in the namespace. Usage at a Glance Namespaces are used in the .NET Framework as an organized method of exposing program components to other programs and applications. Namespaces are always Public, although types defined within a namespace can have varying levels of declared access. |