Skip to content

Add file based program tutorial #47886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

BillWagner
Copy link
Member

@BillWagner BillWagner commented Aug 7, 2025

Fixes #46926

Add a tutorial to build a file-based program. Include packages, and define custom types.


Internal previews

📄 File 🔗 Preview link
docs/csharp/fundamentals/tutorials/file-based-programs.md Tutorial: Build file-based C# programs
docs/csharp/toc.yml Taken from https://github.com/dotnet/roslyn/wiki/Samples-and-Walkthroughs

set the `+x` permission on the file-based program.

Fix build warnings.
Use extracted code snippets instead of inline code.
@BillWagner BillWagner marked this pull request as ready for review August 8, 2025 17:43
@BillWagner BillWagner requested a review from a team as a code owner August 8, 2025 17:43
@BillWagner BillWagner requested a review from adegeo August 8, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C# 14-Tutorials]: New Feature - file-based programs
1 participant