Find number of elements in specified dimension

system.array.getlength not supported?
how to find number of elements in specified dimension?


  public FFT(int[,] Input)
        {
            GreyImage = Input;
            Width = nx = Input.GetLength(0);
            Height = ny = Input.GetLength(1);
        }

how to use this function in microframework?

int[] array = new int[]{1,2,3,4,5,6};
            Debug.Print(array.Length.ToString());

            byte[][] array2 = {new byte[]{0x00,0x00,0x00}, new byte[]{0x11,0x11}};
            Debug.Print(array2[0].Length.ToString());
            Debug.Print(array2[1].Length.ToString());

Multi-dimensional arrays are not supported in .NET Micro Framework. Jagged arrays (byte[][]) are supported, however.

@ Justin - thanks

@ biren - No worries