Is there any convenient way to add a value when the dictionary key does not exist? #6032
Answered
by
huoyaoyuan
zms9110750
asked this question in
Q&A
-
My current code:
Lazy can tell him how to get the value in advance. Is there any way to use it with a dictionary? |
Beta Was this translation helpful? Give feedback.
Answered by
huoyaoyuan
Apr 19, 2022
Replies: 1 comment
-
This is not a language specific question, and should belong to the dotnet/runtime repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zms9110750
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not a language specific question, and should belong to the dotnet/runtime repo.
See also dotnet/runtime#67376.