Use the Length array property on a 3-D array
// Use the Length array property on a 3-D array.
using System;
public class LengthDemo3D {
public static void Main() {
int[,,] nums = new int[10, 5, 6];
Console.WriteLine("Length of nums is " + nums.Length);
}
}
Related examples in the same category