-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Query collection update #51439
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
base: main
Are you sure you want to change the base?
Query collection update #51439
Conversation
Added description for file access type modifier
Added a Student class to demonstrate merging data from collections.
|
|
||
| The following example shows how to use a named record `Student` to store merged data from two in-memory collections of strings that simulate spreadsheet data in .csv format. The ID is used as the key to map students to their scores. | ||
|
|
||
| ```csharp |
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.
This is actually a record, and we should be able to include it as a snippet from the file in ./snippets/How-to-collections/Program.cs at line 273.
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.
@BillWagner I've updated the PR now
Removed the definition of the Student class from the documentation.
Added code snippets for Student record and collection population.
Summary
Added definition class for
StudentFixes #51434
Internal previews