C#のDictionary、TryAddValue(K, V)ないのか
Conversation
Notices
-
Embed this notice
anatawa12 :vrc::unity::unityerror: (anatawa12@misskey.niri.la)'s status on Sunday, 23-Jul-2023 15:42:43 JST anatawa12 :vrc::unity::unityerror: - 57005 likes this.
-
Embed this notice
anatawa12 :vrc::unity::unityerror: (anatawa12@misskey.niri.la)'s status on Sunday, 23-Jul-2023 15:46:29 JST anatawa12 :vrc::unity::unityerror: TryGetValue(K, out V) boolはあるけどTryAdd(add if not exists)はなくない?
-
Embed this notice
anatawa12 :vrc::unity::unityerror: (anatawa12@misskey.niri.la)'s status on Sunday, 23-Jul-2023 15:46:29 JST anatawa12 :vrc::unity::unityerror: Standard 2.1以降ならあるらしい。
Unity 2021/2022ならあるってことになる57005 likes this.