ArrayList Properties
In this chapter you will learn:
IsFixedSize and IsReadOnly properties
using System;//from j a va2 s .c om
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);
}
}
The code above generates the following result.
Next chapter...
What you will learn in the next chapter:
Home » C# Tutorial » List