IsFixedSize and IsReadOnly properties : ArrayList : Data Structure C# Examples


C# Examples » Data Structure » ArrayList »

 

IsFixedSize and IsReadOnly properties









    
using  System;
using  System.Collections;

class  MainClass
{
    public  static  void  Main()
    {
        ArrayList  myArrayList  =  new  ArrayList();
        
        Console.WriteLine("myArrayList.IsFixedSize  =  "  +  myArrayList.IsFixedSize);
        Console.WriteLine("myArrayList.IsReadOnly  =  "  +  myArrayList.IsReadOnly);

    }
}
    
   
  
   



Output

myArrayList.IsFixedSize = False
myArrayList.IsReadOnly = False


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Structure
» ArrayList