C# Array IsFixedSize
Description
Array IsFixedSize
gets a value indicating whether the
Array has a fixed size.
Syntax
Array.IsFixedSize
has the following syntax.
public bool IsFixedSize { get; }
Example
using System;/*from w w w.j av a2 s . c o m*/
public class MainClass{
public static void Main(String[] argv){
Array myArray = new int[] { 1, 2, 4 };
Console.WriteLine(myArray.IsFixedSize);
}
}
The code above generates the following result.