Haraakesh Kumar

Haraakesh Kumar

  • NA
  • 2
  • 8.3k

Why doesn't it let me do add/substract array values?

Dec 1 2012 7:18 PM
Why does doing:

map[0,0]-map[0,1]

on a mutidimensional integer array gives me an error:

Object reference not set to an instance of an object.

instead of substracting the actual values?

Answers (1)