public struct ReadWriteArray<TValue> : IReadOnlyList<TValue>, IReadOnlyCollection<TValue>, IEnumerable<TValue>, IEnumerable
Type Parameters
Constructors
Declaration
public ReadWriteArray(TValue[] array)
Parameters
Type |
Name |
Description |
TValue[] |
array |
|
Declaration
public ReadWriteArray(TValue[] array, int index, int length)
Parameters
Type |
Name |
Description |
TValue[] |
array |
|
System.Int32 |
index |
|
System.Int32 |
length |
|
Properties
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public TValue this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
Declaration
public ReadOnlyArray<TValue> AsReadOnly()
Returns
Declaration
public IEnumerator<TValue> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<TValue> |
|