-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Fix misleading in the Main doc about async/Task #41356
Conversation
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Rich Lander <rlander@microsoft.com>
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
Co-authored-by: David Pine <david.pine@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also added some thoughts on this explanation.
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
docs/csharp/fundamentals/program-structure/main-command-line.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
@dotnet-policy-service agree |
This PR was more tricky that anticipated. I prefer to split it and do the asked modification about boilerplate code in another PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think this is a good set of improvements. We can save the rest for the follow-on PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Rich that this is a great improvement. Once the one final modification is made, I'll merge it.
Summary
Main
:" by "the most commonMain
", because the list isn't exhaustivepublic
accessor modifier. That's typical, but not required." by default accessor, because it sound most commonFixes #40972
Internal previews