Skip to content

Conversation

@anandmeg anandmeg requested review from a team and BillWagner as code owners January 28, 2025 21:21
@dotnetrepoman dotnetrepoman bot added this to the January 2025 milestone Jan 28, 2025
@anandmeg anandmeg marked this pull request as draft January 28, 2025 21:22
@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 28, 2025
@anandmeg anandmeg marked this pull request as ready for review January 28, 2025 23:56
@anandmeg anandmeg requested a review from gewarren as a code owner January 28, 2025 23:56
@anandmeg anandmeg changed the title Update ms.custom value to the new value Update ms.custom value to the new value and add addl. highlights Jan 28, 2025
…alize-a-dictionary-with-a-collection-initializer.md

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @anandmeg

This looks good. I had a suggestion on one of the prompts to use that opportunity to teach customers about record types. Let me know what you think, and then I'll merge this.

…alize-a-dictionary-with-a-collection-initializer.md

Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
@BillWagner BillWagner enabled auto-merge (squash) January 29, 2025 17:16
@BillWagner BillWagner merged commit a78c8bc into dotnet:main Jan 29, 2025
8 checks passed
@durandt
Copy link

durandt commented Sep 24, 2025

Hi,

I came here from https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/how-to-initialize-a-dictionary-with-a-collection-initializer#use-ai-to-initialize-a-dictionary

Are we not concerned that:

  • This kind of suggestions may clutter documentation and make it more difficult to find the answer?
  • The AI agent that "learn" from the documentation may start to suggest to use AI-agents to help instead of helping?

Best regards,

@mijacobs
Copy link
Contributor

Hi,

I came here from https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/how-to-initialize-a-dictionary-with-a-collection-initializer#use-ai-to-initialize-a-dictionary

Are we not concerned that:

  • This kind of suggestions may clutter documentation and make it more difficult to find the answer?
  • The AI agent that "learn" from the documentation may start to suggest to use AI-agents to help instead of helping?

Best regards,

Thank you for the feedback! This particular AI highlight is being removed in another PR. We're in the process of reviewing and revising these highlights to make sure they're as helpful as possible. We haven't encountered any issues with recursive answers so far; it's something that we're keeping an eye on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants