-
Notifications
You must be signed in to change notification settings - Fork 6k
Clarify "string" vs "System.String" in C# programming guide #24985
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
Conversation
docs/csharp/language-reference/builtin-types/reference-types.md
Outdated
Show resolved
Hide resolved
"Portable" is generally used when talking about different architectures or operating systems, i think it could be confusing here. Using language keywords is recommended not because it enables avoiding |
docs/csharp/language-reference/builtin-types/reference-types.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/builtin-types/reference-types.md
Outdated
Show resolved
Hide resolved
Hi @aaronfranke thank you very much for your PR, it's much appreciated. With that said, I've provided a review - and wanted to offer up a few thoughts. Looking forward to hearing back from you, thanks. |
I updated the PR with your suggestions and also added a note about |
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 for all the work and discussion @aaronfranke @IEvangelist @Youssef1313
This LGTM. Let's
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.
Looks good to me, we'll - thank you 🙏
Summary
string
andString
are only equivalent if you haveusing System;
in your file. This PR improves the docs to clarify this.