-
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
Update ide0033.md #44492
Update ide0033.md #44492
Conversation
Remove tuple names to access implicit Item1 name
@K4PS3 I don't think this change is necessary. You can use Item1/Item2 even if the items are named. The following code compiles just fine: (string name, int age) customer = GetCustomer();
var name = customer.Item1;
name = customer.name; |
The suggested changes will make the example clear and show the difference between the two cases. |
@K4PS3 Okay, can you also update the Visual Basic snippet too then? |
Update VB example with implicit tuple names
@gewarren The Visual Basic snippet updated to reflect the same changes. |
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 @K4PS3
@gewarren You're welcome, Thanks for merging it. |
Remove tuple names to access implicit Item1 name
Summary
Tuple names removed to allow access to implicit names.
Internal previews