3 Matching Annotations
- Jul 2023
-
learn.microsoft.com learn.microsoft.com
-
The 6 basic principles: composition and aggregation, ...
-
-
learn.microsoft.com learn.microsoft.com
-
Q: What is global namespace? The global namespace is the namespace that contains namespaces and types that aren't declared inside a named namespace
Q: How to use? ::global
-
In C# 9.0 and later versions, when you use top-level statements in a Program.cs file, there is no default namespace defined.
IF "there is no default namespace defined" = "without any namespace declaration" -> the code in Program.cs belongs to the global namespace since there is no default or explicit namespace specified in the file
-