Skip to content
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

Use new ToDictionary() overload without delegates #27502

Merged
merged 1 commit into from Mar 5, 2024

Conversation

turbedi
Copy link
Contributor

@turbedi turbedi commented Mar 5, 2024

Since .NET 8 ToDictionary() has an overload for IEnumerable<KeyValuePair<TKey, TValue>> , which is cleaner and also a bit faster/reduces allocations.

@peppy peppy merged commit b4bc34d into ppy:master Mar 5, 2024
11 of 17 checks passed
@turbedi turbedi deleted the ToDictionary_overload branch March 5, 2024 12:49
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.

None yet

2 participants