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("Rank  =  {0},  Length  =  {1}",  arr.Rank,  arr.Length);
      }
}
    
   
  
   



Output

Rank = 1, Length = 5


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Structure
» Array