回答編集履歴
1
ソース修正\(for -> ForEach\)
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```
|
10
10
|
|
11
|
-
(new List<string> {"apple", "strawberry", "orange"}).
|
11
|
+
(new List<string> {"apple", "strawberry", "orange"}).ForEach(
|
12
12
|
|
13
13
|
fruit => MessageBox.Show(fruit.Contains("orange")?"color is orange":"color is red")
|
14
14
|
|