回答編集履歴

1

ソース修正\(for -> ForEach\)

2016/03/30 07:14

投稿

tkturbo
tkturbo

スコア5572

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ```
10
10
 
11
- (new List<string> {"apple", "strawberry", "orange"}).for(
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