Answers for "c# get witdh of matrix"

C#
0

c# get witdh of matrix

int[,] matrix2D = new int[,];
int[,,] matrix3D = new int[,,];

matrix2D.GetLength(0); //width
matrix2D.GetLength(1); //height

matrix3d.GetLength(0) //x
matrix3d.GetLength(0) //y
matrix3d.GetLength(0) //z
Posted by: Guest on August-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language