![]() |
VOOZH | about |
public bool IsReadOnly { get; }
Property Value: This property always returns false for all arrays.
Below programs illustrate the use of above-discussed property:
Example 1:
Result: False
Result: False
IsReadOnly property because it is needed by the System.Collections.IList interface. System.Collections class which implements the System.Collections.IList interface.IList.IsReadOnly property returns false. However, if the user cast or convert an array to an IList<T> interface, the IsReadOnly property returns true.