December 03, 2013
Returns a read-only wrapper for the specified array.
Assembly: mscorlib (in mscorlib.dll)
The type of the elements of the array.
The one-dimensional, zero-based array to wrap in a read-only ReadOnlyCollection<T> wrapper.
To prevent any modifications to the array, expose the array only through this wrapper.
A collection that is read-only is simply a collection with a wrapper that prevents modifying the collection; therefore, if changes are made to the underlying collection, the read-only collection reflects those changes.
This method is an O(1) operation.