Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
global
Collapse the table of content
Expand the table of content

global (C# Reference)

Updated: July 2008

The global contextual keyword, when it comes before the :: operator, refers to the global namespace, which is the default namespace for any C# program and is otherwise unnamed. For more information, see How to: Use the Namespace Alias Qualifier (C# Programming Guide).

The following example shows how to use the global contextual keyword to specify that the class TestApp is defined in the global namespace:

class TestClass : global::TestApp { }

Date

History

Reason

July 2008

Added topic.

Information enhancement.

Community Additions

ADD
Show:
© 2015 Microsoft