Skip to content

Commit 5a8d193

Browse files
Emphasize that top file using is for top-level statements (#46354)
1 parent ef0cb29 commit 5a8d193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/fundamentals/program-structure/top-level-statements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In a project with top-level statements, you can't use the [-main](../../language
4242

4343
## `using` directives
4444

45-
If you include `using` directives, they must come first in the file, as in this example:
45+
For the single file containing top-level statements `using` directives must come first in that file, as in this example:
4646

4747
:::code language="csharp" source="snippets/top-level-statements-1/Program.cs":::
4848

0 commit comments

Comments
 (0)