Skip to content

ArrayExtensions Class ​

Definition ​

Extension methods for arrays.

c#
public static class ArrayExtensions

View source

Methods ​

NameDescription
CreateWrappedSequence<T>(T[], Int32)Creates a ReadOnlySequence<T> that wraps an array, starting at the specified index. The sequence contains two segments covering the same underlying memory, allowing sequential reading that wraps around the starting position.