Use the Length array property on a 3-D array : Array Length : Data Structure C# Examples


C# Examples » Data Structure » Array Length »

 

Use the Length array property on a 3-D array









    
using  System;  
  
class  MainClass  {    
    public  static  void  Main()  {    
        int[,,]  nums  =  new  int[10,  5,  6];    
  
        Console.WriteLine("Length  of  nums  is  "  +  nums.Length);    
    
    }    
}
    
   
  
   



Output

Length of nums is 300


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Structure
» Array Length