Mega Code Archive

 
Categories / C# / Collections Data Structure
 

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);        }   }