Skip to content

AddOrUpdate Method For Generics Dictionary #74812

Answered by svick
suleman-khalid asked this question in General
Discussion options

You must be logged in to vote

This is a question for dotnet/runtime, where it was discussed a few times (#26848, #1221) and ended up being closed, pointing to CollectionsMarshal.GetValueRefOrAddDefault() if you're looking for this method to improve performance.

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by suleman-khalid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants