Answer: global is the
C#'s contextual keyword which refers to the global namespace. It is used to solve the problems that we might get while redefining types.
If it is places before '
::' operator, then it is referring to the global namespace which is the
C#'s default namespace.
Example,
class MyClass : global::MySec { }
Asked In: Spotted While Learning |
Alert Moderator