What does it mean when there is a comma inside an array declaration? e.g. float[,] What does it mean when there is a comma inside an array declaration? e.g. float[,] arrays arrays

What does it mean when there is a comma inside an array declaration? e.g. float[,]


That would be a two-dimensional array. You can also specify more dimensions:

Multidimensional Arrays (C# Programming Guide)


Each comma adds an additional dimension to the array [,] = 2 dimensional [,,] = 3 dimensional ...


That the array is multi-dimensional - two-dimensional in your case.