Answers for "get length of 1 row in 2d array c#"

C#
2

how to get specific length of row in matrix c#

int[,,] multiDimensionalArray = new int[21,72,103] ;
//If n = 0 -> 21
//If n = 1 -> 72
//If n = 2 -> 103
multiDimensionalArray.GetLength(n);
Posted by: Guest on March-09-2020

C# Answers by Framework

Browse Popular Code Answers by Language