Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The namespace alias qualifier (::) is used to look up identifiers. It is always positioned between two identifiers, as in this example:
global::System.Console.WriteLine("Hello World");
Remarks
The namespace alias qualifier can be global. This invokes a lookup in the global namespace, rather than an aliased namespace.
For More Information
For an example of how to use the :: operator, see the following section:
C# Language Specification
For more information, see the following sections in the C# Language Specification:
7.5.2 Simple names
9.7 Namespace alias qualifiers
See Also
Concepts
Reference
Namespace Keywords (C# Reference)