回答編集履歴

1

修正

2018/03/23 10:38

投稿

Zuishin
Zuishin

スコア28660

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  var list = Enumerable
10
10
 
11
- .Range(array.GetLowerBound(0), array.GetUpperBound(0) + 1)
11
+ .Range(data.GetLowerBound(0), data.GetUpperBound(0) + 1)
12
12
 
13
13
  .SelectMany(x =>
14
14
 
@@ -16,9 +16,9 @@
16
16
 
17
17
  return Enumerable
18
18
 
19
- .Range(array.GetLowerBound(1), array.GetUpperBound(1) + 1)
19
+ .Range(data.GetLowerBound(1), data.GetUpperBound(1) + 1)
20
20
 
21
- .Select(y => new { X = x, Y = y, Value = array[x, y] });
21
+ .Select(y => new { X = x, Y = y, Value = data[x, y] });
22
22
 
23
23
  })
24
24