HI
I have Declare an arrayList and Fix it when i write its property to check (is it fix or not) but the property display the false it means it is not fixing in size can any one tell me how can i fix it...?
ArrayList arrList =new ArrayList();
ArrayList myFixedSizeAL = ArrayList.FixedSize(arrList);
Console.WriteLine(" Is FixSize {0}", ar.IsFixedSize+ "\n");
ArrayList
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Jun 23, 2011, 4:32 AM EDT
So this should display 'true':
Console.WriteLine(" Is FixSize {0}", myFixedSizeAL.IsFixedSize+ "\n");