Skip to content
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

Extract comments from code samples of "Program structure" article to get them translated #44422

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

Conversation

BartoszKlonowski
Copy link
Contributor

@BartoszKlonowski BartoszKlonowski commented Jan 17, 2025

This pull request closes #43924

For all three pages of "Program structure" article this PR goes through all code snippets and moves comments from the code to the text (embedding them or explaining if needed, so they are not left out of context).

Only the last page "Top-level statements - programs without Main methods" does not contain code that would have comments requiring translations.
The only code snippet, in the ## using directives section, was already moved in the previous page and the translated text does not relate to it.


Internal previews

📄 File 🔗 Preview link
docs/csharp/fundamentals/program-structure/index.md General Structure of a C# Program
docs/csharp/fundamentals/program-structure/main-command-line.md Main() and command-line arguments

@BartoszKlonowski BartoszKlonowski requested review from BillWagner and a team as code owners January 17, 2025 21:51
@dotnetrepoman dotnetrepoman bot added this to the January 2025 milestone Jan 17, 2025
@dotnet-policy-service dotnet-policy-service bot added dotnet-csharp/svc fundamentals/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-csharp/svc fundamentals/subsvc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add text to explain English comments
1 participant