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

前端 未结 4 548
情歌与酒
情歌与酒 2020-12-10 00:14

I have some code I\'m trying to understand while learning C#. I do not understand what I even need to search Google for to get here, but the code is as follows:

<         


        
4条回答
  •  余生分开走
    2020-12-10 00:56

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

    Multidimensional Arrays (C# Programming Guide)

提交回复
热议问题