Skip to content

Commit ee2322f

Browse files
authored
Apply suggestions from code review
1 parent 33bfdee commit ee2322f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/keywords/namespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The `namespace` keyword is used to declare a scope that contains a set of relate
2424

2525
When using *file-scoped namespaces*, the placement of `using` statements affects their scope within the file. File-scoped namespaces lower to the equivalent traditional namespace declaration that ends with a closing bracket at the end of the file. This behavior determines where `using` directives are applied as follows:
2626

27-
- If the `using` statements are placed before the file-scoped namespace declaration, they are treated as being outside of the namespace and apply globally.
27+
- If the `using` statements are placed before the file-scoped namespace declaration, they are treated as being outside of the namespace and are interpreted as fully-qualified namespaces.
2828
- If the `using` statements are placed after the file-scoped namespace declaration, they are scoped within the namespace itself.
2929

3030
For example:

0 commit comments

Comments
 (0)