Array Inherited Members : Array : Data Structure C# Examples


C# Examples » Data Structure » Array »

 

Array Inherited Members









    
using  System;

class  MainClass
{
      static  void  Main()
      {
            int[]  arr  =  new  int[]  {  15,  20,  5,  25,  10  };

            Console.WriteLine("GetLength(0)  =  {0}",  arr.GetLength(0));
      }
}
    
   
  
   



Output

GetLength(0) = 5


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Structure
» Array