Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/csharp/fundamentals/tutorials/file-based-programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ description: File-based apps are command line utilities that are built and execu
ms.date: 08/14/2025
ms.topic: tutorial
ai-usage: ai-assisted
#customer intent: As a developer, I want build utilities so that more work is automated.
#customer intent: As a developer, I want to build utilities so that more work is automated.
---

# Tutorial: Build file-based C# programs

*File-based apps* are programs contained within a single `*.cs` file that are built and run without a corresponding project (`*.csproj`) file. File-based apps are ideal for learning C# because they have less complexity: The entire program is stored in a single file. File-based apps are also useful for building command line utilities. On Unix platforms, file-based apps can be run using `#!` (shebang) directives.

*File-based apps* are programs contained within a single `*.cs` file that are built and run without a corresponding project (`*.csproj`) file. File-based apps are ideal for learning C# because they have less complexity: The entire program is stored in a single file. File-based apps are also useful for building command line utilities. On Unix platforms, file-based apps can be run using `#!` (shebang) [directives](../../language-reference/preprocessor-directives.md).
In this tutorial, you:

> [!div class="checklist"]
Expand Down