The Array class is the base class for all the arrays in C#. It is defined in the System namespace. The Array class provides various properties and methods to work with arrays.
The following are the properties of array class −
The below table describes some of the most commonly used properties of the Array class.
| Sr.No | Property & Description |
|---|---|
| 1 | IsFixedSize Gets a value indicating whether the Array has a fixed size. |
| 2 | IsReadOnly Gets a value indicating whether the Array is read-only. |
| 3 | Length Gets a 32-bit integer that represents the total number of elements in all the dimensions of the Array. |
| 4 | LongLength Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array. |
| 5 | Rank Gets the rank (number of dimensions) of the Array. |