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.
namespace ConsoleKeyword
{
class System
{
System()
{
}
static void Main(string[] args)
{
System.Console.WriteLine("Amit");
}
}
}


Join the conversation! Your thoughts help the community grow.