-4

What is the index of the first cell (the first left cell in first line and first row) in jagged array in C#?

a[0][0]?? 
a[0][1]??
OmG
  • 18,337
  • 10
  • 57
  • 90
user3585203
  • 15
  • 1
  • 3

1 Answers1

2

If your array is defined as int[][], then the first line would be a[0], and the first cell a[0][0]. I should suggest that you try to find out such simple things by experiment.

Anton Shepelev
  • 922
  • 9
  • 19