Hi george,
In C# when type is defined outside any namespace it becomes part of default
unnamed namespace. This global namespace could be what they reference as
*the global scope*.
Even though C# doesn allow methods and variables to be declared outside the
types CLR support such global methods and variables and they can be used at
least with ILAsm. So it could be the other possible place where you could
find *the global scope* term used. Anyway, I believe these global methods
and variables are not CLI complaint.
HTH
B\rgds
100
"george r smith" <gs****@budgetext.com> wrote in message
news:OS**************@TK2MSFTNGP09.phx.gbl...
In the MSDN documentation there is a reference to "the global scope". For
example
"You can declare types directly in the global scope."
I have search extensively and can not find a definition of the "global
scope" but could it
be the space above the namespace reserved word, such as:
public class Bank { ... }
namespace Banking
Is the public class Bank in the global scope area and what purpose does
this placement
serve.
thanks
grs