回答編集履歴
1
FirstOrDefaultに変更
test
CHANGED
@@ -16,4 +16,4 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
`var ret = parentDictionary.Where(e => e.Value[key].Equals(value)).First().Value;`
|
19
|
+
`var ret = parentDictionary.Where(e => e.Value[key].Equals(value)).FirstOrDefault().Value;`
|