PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Read­Only­Array(T) Structure / Read­Only­Array(T) Constructor

ReadOnlyArray<T> Constructor

Initializes a new ReadOnlyArray<T>.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public ReadOnlyArray(
	T[] array
)

Parameters

array
Type: T[]
An array, or null.
See Also