Skip to content

Commit e535774

Browse files
committed
Update file-based-programs.md
Fix build error
1 parent 9b68cdf commit e535774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/csharp/fundamentals/tutorials/file-based-programs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,12 @@ Finally, replace the `if` clause you wrote earlier with the following code to pr
236236

237237
Test the application by running several different commands. If you have trouble, here's the finished sample to compare with what you built:
238238

239-
:::code language="csharp" source="./snippets/file-based-programs/AsciiArt.cs" Lines="1-88":::
239+
:::code language="csharp" source="./snippets/file-based-programs/AsciiArt.cs" range="1-88":::
240240

241241
In this tutorial, you learned to build a file-based program, where you build the program in a single C# file. These programs don't use a project file, and can use the `#!` directive on unix systems. Learners can create these programs after trying our [online tutorials](../../tour-of-csharp/tutorials/hello-world.md) and before building larger project-based apps. File-based apps are also a great platform for command line utilities.
242242

243243
## Related content
244244

245245
- [Top level statement](../program-structure/top-level-statements.md)
246-
- [Preprocessor directives](../../language-reference/preprocessor-directives.md#file-based-programs)
246+
- [Preprocessor directives](../../language-reference/preprocessor-directives.md#file-based-apps)
247247
- [What's new in C# 14](../../whats-new/csharp-14.md)

0 commit comments

Comments
 (0)