Share via


Array.IsFixedSize Property

Gets a value indicating whether a specific array has a fixed size.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual bool IsFixedSize { get; }

Property Value

true for all arrays.

Remarks

An array implements the IsFixedSize property because this is required by the System.Collections.IList interface.

If an array has a fixed size, you cannot add objects to it or remove objects from it, but you can modify any of the existing objects in the array.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Array Class
Array Members
System Namespace