如题,我在MSDN查看说明是这样的:A name of an object, function, or enumerator is global if it is introduced outside any function or class or prefixed by the global unary scope operator (::), and if it is not used in conjunction with any of these binary operators: Scope-resolution (::)Member-selection for objects and references (.)Member-selection for pointers (–>)看得不很懂的。
Global.asa 文件的作用主要是用于站点或虚拟目录下程序的数据共享和多线程。
在 global.asa 中,可以声明 Application 事件和 Session 事件,并可以声明一些 Session 范围或者 Application 范围的对象
http://msdn.microsoft.com/zh-cn/library/c3ay4x3d.aspx
当我们使用一个命名空间(namespace)时,可能使用了和framework一样的名字。
此时为了向编译器指明使用framework的namespace,那么使用Global::进行指明